diff --git a/dollar/Gesture.cpp b/dollar/Gesture.cpp index 93fdab8..5022e02 100644 --- a/dollar/Gesture.cpp +++ b/dollar/Gesture.cpp @@ -71,7 +71,7 @@ dollar::Gesture::Gesture(): } bool dollar::Gesture::load(const etk::String& _fileName) { - etk::String tmpName = etk::tolower(_fileName); + etk::String tmpName = etk::toLower(_fileName); if (etk::end_with(tmpName, ".json") == true) { return loadJSON(_fileName); } else if (etk::end_with(tmpName, ".svg") == true) { @@ -117,7 +117,7 @@ bool dollar::Gesture::loadSVG(const etk::String& _fileName) { bool dollar::Gesture::store(const etk::String& _fileName) { - etk::String tmpName = etk::tolower(_fileName); + etk::String tmpName = etk::toLower(_fileName); if (etk::end_with(tmpName, ".json") == true) { storeJSON(_fileName); return true; diff --git a/tool/bench-corpus/main.cpp b/tool/bench-corpus/main.cpp index d5d32b2..1e1f406 100644 --- a/tool/bench-corpus/main.cpp +++ b/tool/bench-corpus/main.cpp @@ -242,7 +242,7 @@ bool testCorpus(const etk::String& _srcGesture, const etk::String& _srcCorpus) { nbRecognise++; nbRecognise2++; TEST_INFO(" " << res.getName() << " score=" << res.getConfidence()); - } else if (etk::toupper(res.getName()) == etk::toupper(label)) { + } else if (etk::toUpper(res.getName()) == etk::toUpper(label)) { nbRecognise2++; TEST_WARNING(" " << res.getName() << " score=" << res.getConfidence()); }else {