Fix build with clang
The code uses both deprecated C++98 std::auto_ptr and C++14 TR
std::experimental::optional and thus depends rather heavily on being
compiled with an exact C++ version.
Task-number: QTBUG-67810
Change-Id: I599b4a16f93ded6a9fb8fcf24c43c25f83a9f2fd
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
| commit | 3a03829cb854c299da220a073cae58614d72c5cb |
| parent | 3a6335f13aee6461b98375cea235a592456a5ce5 |
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> |
| committer | Jani Heikkinen <jani.heikkinen@qt.io> |
| commit time | Sun, 29 Apr 2018 16:17:52 +0000 |