Fixed string conversion error

This commit is contained in:
Yorik van Havre
2013-07-21 13:41:27 -03:00
parent d8d221dce3
commit 9679d450fc
+1 -1
View File
@@ -144,7 +144,7 @@
$self->AddEntity(e); $self->AddEntity(e);
} }
void write(const std::string& fn) { void write(const std::string& fn) {
std::ofstream f(fn); std::ofstream f(fn.c_str());
f << (*$self); f << (*$self);
} }
} }