diff options
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index 9d22a66..ca4adee 100644 --- a/src/utils.h +++ b/src/utils.h @@ -81,6 +81,8 @@ namespace utils { int parseInt(const std::string& s); + double parseDouble(const std::string& s); + template<typename S, typename D> std::shared_ptr<S> loadDFromJson(const nlohmann::json& data) { nlohmann::json j = data; try { @@ -123,7 +125,7 @@ namespace utils { const std::map<std::string, int> cpValue { {"cp", 1}, {"sp", 10}, - {"ep", 50}, + //{"ep", 50}, {"gp", 100}, {"pp", 1000} }; |