- Fixed several memory errors
This commit is contained in:
@@ -60,12 +60,12 @@ inline std::ostream& operator<<(std::ostream& os, const quaternion<ScalarT>& q)
|
||||
|
||||
// Helper for printing strings
|
||||
inline std::ostream& operator<<(std::ostream& os, const cstring& str) {
|
||||
return os << *str;
|
||||
return os << str.data();
|
||||
}
|
||||
|
||||
// Helper for printing strings
|
||||
inline std::ostream& operator<<(std::ostream& os, const string& str) {
|
||||
return os << *str;
|
||||
return os << str.cstr();
|
||||
}
|
||||
|
||||
// Helper for printing strings
|
||||
|
||||
Reference in New Issue
Block a user