* src/mm/memory.cpp,
[cacao.git] / src / vm / suck.cpp
index 522abe15eb258aec7b268e8889f55f0a8d458912..1c801c5636fb2756ec89acb067fdc5ed7e0d8247 100644 (file)
 
 #include "arch.h"
 
-#include "mm/memory.h"
+#include "mm/memory.hpp"
 
 #include "threads/mutex.hpp"
 
 #include "toolbox/list.hpp"
-#include "toolbox/logging.h"
+#include "toolbox/logging.hpp"
 #include "toolbox/util.h"
 
 #include "vm/exceptions.hpp"
@@ -47,7 +47,7 @@
 #include "vm/properties.hpp"
 #include "vm/suck.hpp"
 #include "vm/vm.hpp"
-#include "vm/zip.h"
+#include "vm/zip.hpp"
 
 
 /* global variables ***********************************************************/
@@ -238,8 +238,8 @@ void suck_add_from_property(const char *key)
        s4              namlen;
        char           *p;
 
-       /* get the property value */
-       Properties properties = VM::get_current()->get_properties();
+       // Get the property value.
+       Properties& properties = VM::get_current()->get_properties();
        value = properties.get(key);
 
        if (value == NULL)