File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace netlicensing {
3131 static const char * const HIDDEN = " hidden" ;
3232
3333 // Utility
34- static const std::string UTILITY_ENDPOINT_PATH = " utility" ;
34+ static const char * const UTILITY_ENDPOINT_PATH = " utility" ;
3535 static const char * const ENDPOINT_PATH_LICENSE_TYPES = " licenseTypes" ;
3636 static const char * const ENDPOINT_PATH_LICENSING_MODELS = " licensingModels" ;
3737 static const char * const ENDPOINT_PATH_COUNTRIES = " countries" ;
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ template<> inline std::string endpoint<PaymentMethod>() { return std::string(PAY
1818template <> inline std::string endpoint<Token>() { return std::string (TOKEN_ENDPOINT_PATH); }
1919template <> inline std::string endpoint<Transaction>() { return std::string (TRANSACTION_ENDPOINT_PATH); }
2020template <> inline std::string endpoint<Country>() { return std::string (UTILITY_ENDPOINT_PATH) + " /" +std::string (ENDPOINT_PATH_COUNTRIES); }
21- template <> inline std::string endpoint<LicensingModel>() { return UTILITY_ENDPOINT_PATH + " /" + std::string (ENDPOINT_PATH_LICENSING_MODELS); }
22- template <> inline std::string endpoint<LicenseType>() { return UTILITY_ENDPOINT_PATH + " /" + std::string (ENDPOINT_PATH_LICENSE_TYPES); }
21+ template <> inline std::string endpoint<LicensingModel>() { return std::string ( UTILITY_ENDPOINT_PATH) + " /" + std::string (ENDPOINT_PATH_LICENSING_MODELS); }
22+ template <> inline std::string endpoint<LicenseType>() { return std::string ( UTILITY_ENDPOINT_PATH) + " /" + std::string (ENDPOINT_PATH_LICENSE_TYPES); }
2323
2424template <typename M>
2525void getEntity (Context& ctx, M& mapper, const std::string& number) {
You can’t perform that action at this time.
0 commit comments