Skip to content
  • Kevin Funk's avatar
    Fix MSVC build · ab01f184
    Kevin Funk authored
    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)")
    ab01f184