mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
compatibility with wxWdigets 2.9+: wxString::c_str now returns an object instead of a Char*, use cast to force conversion.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1525 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -84,7 +84,7 @@ TextIOHandler& TextIOHandler::operator << (const Char* str) {
|
||||
}
|
||||
|
||||
TextIOHandler& TextIOHandler::operator << (const String& str) {
|
||||
return *this << str.c_str();
|
||||
return *this << static_cast<const Char*>(str.c_str());
|
||||
}
|
||||
|
||||
void TextIOHandler::flush() {
|
||||
|
||||
Reference in New Issue
Block a user