mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 21:47:00 -04:00
compatibility with wxWdigets 2.9+: wxString::iterator::operator* aparently does not return a wxChar anymore, use cast to force conversion.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1547 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -288,7 +288,7 @@ KeywordTrie* KeywordTrie::insert(Char c) {
|
|||||||
KeywordTrie* KeywordTrie::insert(const String& match) {
|
KeywordTrie* KeywordTrie::insert(const String& match) {
|
||||||
KeywordTrie* cur = this;
|
KeywordTrie* cur = this;
|
||||||
FOR_EACH_CONST(c, match) {
|
FOR_EACH_CONST(c, match) {
|
||||||
cur = cur->insert(c);
|
cur = cur->insert(static_cast<Char>(c));
|
||||||
}
|
}
|
||||||
return cur;
|
return cur;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user