* configure.ac: New switch for disabling -O2 (--disable-optimizations).
[cacao.git] / src / vm / properties.hpp
index 582099c0ccee4b16d70cb090568afd9d29d7dbd8..b10a5a7b3ad4a5631fc5d6a9988ef880d4436b8a 100644 (file)
@@ -53,6 +53,10 @@ class Properties {
 private:
        std::map<const char*, const char*, ltstr> _properties;
 
+private:
+       // Don't allow to copy the properties.
+       Properties(const Properties&);
+
 public:
        Properties();
 
@@ -67,13 +71,6 @@ public:
 #endif
 };
 
-#else
-
-typedef struct Properties Properties;
-
-void        Properties_put(const char *key, const char *value);
-const char *Properties_get(const char *key);
-
 #endif
 
 #endif // _PROPERTIES_HPP