]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/parsers/get_tariff.cpp
Merge branch 'fix-gts-auth-errors'
[stg.git] / stglibs / srvconf.lib / parsers / get_tariff.cpp
index 993f8b50a942eecbec6a0b783ffd403178f70a07..e861843e3ee1157f750e6fb6dd3f0f3f8835e93c 100644 (file)
@@ -24,7 +24,6 @@
 
 #include "stg/common.h"
 
-#include <map>
 #include <utility>
 
 #include <strings.h>
@@ -131,6 +130,7 @@ GET_TARIFF::PARSER::PARSER(CALLBACK f, void * d)
     AddAOSParser(propertyParsers, "priceNightB", info.dirPrice, &DIRPRICE_DATA::priceNightB, GetSlashedValue);
     AddAOSParser(propertyParsers, "singlePrice", info.dirPrice, &DIRPRICE_DATA::singlePrice, GetSlashedValue);
     AddAOSParser(propertyParsers, "noDiscount", info.dirPrice, &DIRPRICE_DATA::noDiscount, GetSlashedValue);
+    AddAOSParser(propertyParsers, "threshold", info.dirPrice, &DIRPRICE_DATA::threshold, GetSlashedValue);
 }
 //-----------------------------------------------------------------------------
 GET_TARIFF::PARSER::~PARSER()