]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOSQLiteTreeHandler.h
Actually set the bool in Setters
[creaImageIO.git] / src2 / creaImageIOSQLiteTreeHandler.h
index 6948675d43d05fe154702695df4fab97a2558e7f..0b102b584f4f66a71fc66d93e41375c450dd28ab 100644 (file)
@@ -265,7 +265,7 @@ namespace creaImageIO
     std::string mFileName;
     /// Is the DB writable ?
     bool mWritable;
-    void SetWritable(bool w) { mWritable; }
+    void SetWritable(bool w) { mWritable = w; }
     bool GetWritable() const { return mWritable; }
        bool mIsAdding;