Page 1 of 1

[solved] Remove UTFString from OgreMain

Posted: Thu Jan 10, 2019 2:24 am
by altren
Since it is not used on OgreMain, have non-trivial code and also uses c++17 deprecated features (inheritance from std::iterator) I suggest to move it into OgreOverlay

There are only two places where it is used:
1. OgreDynLib.h

Code: Select all

#    define DYNLIB_LOAD( a ) LoadPackagedLibrary( UTFString(a).asWStr_c_str(), 0 )
2. OgreOverlayElement.h

Code: Select all

typedef UTFString DisplayString
OgreDynLib.h usage can be replaced with a single windows specific function

Re: Remove UTFString from OgreMain

Posted: Thu Jan 10, 2019 2:33 am
by paroj
sounds good. can you create a pull-request for this?

Re: Remove UTFString from OgreMain

Posted: Thu Jan 10, 2019 3:19 am
by altren
Yes

Re: Remove UTFString from OgreMain

Posted: Sat Jan 12, 2019 4:13 am
by altren