Fixing the compile

* noexcept at wrong postition
* alignment cannot be guaranteed when copying the argument

Change-Id: Ib68788a3fb781e913bd347e6b7932d3280ba9e67
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2017-01-19 12:50:57 +01:00
committed by Tim Jenssen
parent 78fb7f44bf
commit 5dc8e9a743
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ struct SmallStringIterator : public std::iterator<Category, Type, DistanceType,
{
SmallStringIterator() noexcept = default;
SmallStringIterator(Pointer ptr) : pointer_(ptr) noexcept
SmallStringIterator(Pointer ptr) noexcept : pointer_(ptr)
{
}