]> vaikene.ee Git - evaf/blobdiff - src/libs/Common/inifile.h
Mac OS changes and switched to c++11.
[evaf] / src / libs / Common / inifile.h
index ecf873768a37ff0b51413fcb5596ca347d334217..6bcf86beb6f7d234f0959aeb4aede742e5c95351 100644 (file)
@@ -3,7 +3,7 @@
  * @brief Class for reading and writing parameter values in INI files.
  * @author Enar Vaikene
  *
- * Copyright (c) 2011 Enar Vaikene
+ * Copyright (c) 2011-2019 Enar Vaikene
  *
  * This file is part of the eVaf C++ cross-platform application development framework.
  *
@@ -25,6 +25,7 @@
 #include <QString>
 #include <QVariant>
 #include <QIODevice>
+#include <QScopedPointer>
 
 namespace eVaf {
 namespace Common {
@@ -150,7 +151,7 @@ public:
 private:
 
     /// Pointer to the internal implementation of the class
-    Internal::IniFileImpl * d;
+    QScopedPointer<Internal::IniFileImpl> d;
 
 };