Skip to content
Commit ab01f184 authored by Kevin Funk's avatar Kevin Funk
Browse files

Fix MSVC build

Fixes:
```
FAILED: src/CMakeFiles/libakonadiconsole.dir/browserwidget.cpp.obj
...
Z:\CraftRoot\include\KF5\AkonadiCore/item.h(596): error C2039:
"auto_ptr" ist kein Member von "std".
```

This broke with dfae7770 where the required
CXX standard was raised to C++17. MSVC under C++17 no longer declares
std::auto_ptr by default.

See also:
  https://devblogs.microsoft.com/cppblog/c17-feature-removals-and-deprecations/
  (cite: "In C++17 mode, we remove features that were removed in the C++17 Standard (e.g. auto_ptr)")
parent 065ecf61
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment