X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fo1%2Fves%2FJsonHelper.hpp;fp=src%2Fo1%2Fves%2FJsonHelper.hpp;h=6509ddaf568390f911cd476073d4a599a2d2bfd9;hb=8752ca5273e2f50ea631f80ee71b18b562e8a0ec;hp=154677619436987394ff666a49beb326c91eba1b;hpb=c19fa9cfc29c58511772d0b87887d034b38e974b;p=o-du%2Fl2.git diff --git a/src/o1/ves/JsonHelper.hpp b/src/o1/ves/JsonHelper.hpp index 154677619..6509ddaf5 100644 --- a/src/o1/ves/JsonHelper.hpp +++ b/src/o1/ves/JsonHelper.hpp @@ -44,7 +44,7 @@ class JsonHelper static cJSON_bool addJsonNodeToObject(cJSON * parent, \ const char * nodeName, cJSON * node); static cJSON* read(const char * fileName); - static char* getValue(cJSON *json, const char *node); + static std::string getValue(cJSON *json, const char *node); static cJSON * getNode(cJSON *json, const char *node); static char *printUnformatted(cJSON * node); static char *print(cJSON * node);