mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Fixed string conversion error
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -159,4 +159,4 @@ namespace std {
|
|||||||
%template(Ints) vector<int>;
|
%template(Ints) vector<int>;
|
||||||
%template(Doubles) vector<double>;
|
%template(Doubles) vector<double>;
|
||||||
%template(Strings) vector<string>;
|
%template(Strings) vector<string>;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user