updated to new pikotools api: namespace PT renamed to pt

This commit is contained in:
2021-05-20 16:12:41 +02:00
parent d1a15ad153
commit cd1c24d0a5
4 changed files with 29 additions and 29 deletions

View File

@@ -429,8 +429,8 @@ Generator<StreamType>::~Generator()
template<class StreamType>
void Generator<StreamType>::SetCommentary(const char * com_start, const char * com_stop)
{
PT::UTF8ToWide(com_start, commentary_start);
PT::UTF8ToWide(com_stop, commentary_stop);
pt::UTF8ToWide(com_start, commentary_start);
pt::UTF8ToWide(com_stop, commentary_stop);
}
@@ -438,8 +438,8 @@ void Generator<StreamType>::SetCommentary(const char * com_start, const char * c
template<class StreamType>
void Generator<StreamType>::SetCommentary(const std::string & com_start, const std::string & com_stop)
{
PT::UTF8ToWide(com_start, commentary_start);
PT::UTF8ToWide(com_stop, commentary_stop);
pt::UTF8ToWide(com_start, commentary_start);
pt::UTF8ToWide(com_stop, commentary_stop);
}
@@ -1703,7 +1703,7 @@ void Generator<StreamType>::MakeTextFilter(Item & item)
/*
although we are using a stack for [etc out] there is no need for the stack now
because the output is only a one-level map (not nested structure)
but in the future we can use more complicated class like PT::Space
but in the future we can use more complicated class like pt::Space
and then nested [ezc out] statements can product a better output
*/
template<class StreamType>