diff --git a/include/exiv2/config.h b/include/exiv2/config.h index 6d861e8f..2dddcae8 100644 --- a/include/exiv2/config.h +++ b/include/exiv2/config.h @@ -94,14 +94,12 @@ typedef int pid_t; ////////////////////////////////////// // https://softwareengineering.stackexchange.com/questions/291141/how-to-handle-design-changes-for-auto-ptr-deprecation-in-c11 -#include -#include -#include #if __cplusplus >= 201103L + #include + #include + #include template using auto_ptr = std::unique_ptr; -#else - using std::auto_ptr; #endif #endif // _CONFIG_H_