Update ghoul and adapt to ghoul change by moving std::to_string to ghoul::to_string

This commit is contained in:
Alexander Bock
2018-10-08 17:54:32 -06:00
parent 14645c2d3f
commit 428ab56d99
4 changed files with 23 additions and 18 deletions
@@ -389,13 +389,13 @@ template <typename T>
std::string NumericalProperty<T>::generateAdditionalJsonDescription() const {
std::string result = "{ ";
result +=
"\"" + MinimumValueKey + "\": " + luaToJson(std::to_string(_minimumValue)) + ",";
"\"" + MinimumValueKey + "\": " + luaToJson(ghoul::to_string(_minimumValue)) + ",";
result +=
"\"" + MaximumValueKey + "\": " + luaToJson(std::to_string(_maximumValue)) + ",";
"\"" + MaximumValueKey + "\": " + luaToJson(ghoul::to_string(_maximumValue)) + ",";
result +=
"\"" + SteppingValueKey + "\": " + luaToJson(std::to_string(_stepping)) + ",";
"\"" + SteppingValueKey + "\": " + luaToJson(ghoul::to_string(_stepping)) + ",";
result +=
"\"" + ExponentValueKey + "\": " + luaToJson(std::to_string(_exponent));
"\"" + ExponentValueKey + "\": " + luaToJson(ghoul::to_string(_exponent));
result += " }";
return result;
}