fix yaml emitter on bsd
This commit is contained in:
parent
e041357a06
commit
6f0fcc6406
@ -106,6 +106,9 @@ namespace YAML
|
||||
EmitSeparationIfNecessary();
|
||||
|
||||
std::stringstream str;
|
||||
// fix for freebsd
|
||||
str.precision(15);
|
||||
str.setf(std::ios_base::floatfield, std::ios_base::fixed);
|
||||
str << value;
|
||||
m_stream << str.str();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user