updated to the new pikotools api: changed utf8 functions PascalCase to snake_case
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user