updated to the new pikotools api: changed utf8 functions PascalCase to snake_case

This commit is contained in:
2021-05-21 00:41:27 +02:00
parent 8c523ce8b9
commit 8bb585d97d
25 changed files with 99 additions and 99 deletions

View File

@@ -187,7 +187,7 @@ const std::wstring & DbBase::AssertValueWide(PGresult * r, int row, int col)
const char * res = AssertValue(r, row, col);
static std::wstring temp_wide_value; // !! IMPROVE ME add as a class field (nonstatic)
pt::UTF8ToWide(res, temp_wide_value);
pt::utf8_to_wide(res, temp_wide_value);
return temp_wide_value;
}
@@ -211,7 +211,7 @@ void DbBase::AssertValueBin(PGresult * r, int row, int col, std::string & result
void DbBase::AssertValueWide(PGresult * r, int row, int col, std::wstring & result)
{
const char * res = AssertValue(r, row, col);
pt::UTF8ToWide(res, result);
pt::utf8_to_wide(res, result);
}