diff options
author | Robin Cornelius | 2010-10-09 10:20:10 +0100 |
---|---|---|
committer | McCabe Maxsted | 2010-10-09 02:36:14 -0700 |
commit | 0e86bfee3d1dd0e42fef23293242f52793f08583 (patch) | |
tree | 2821da61456ca991758aa5bb0482af4ca8afe22f /linden/indra/llrender/llfontregistry.cpp | |
parent | Changed version to Experimental 2010.10.09 (diff) | |
download | meta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.zip meta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.tar.gz meta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.tar.bz2 meta-impy-0e86bfee3d1dd0e42fef23293242f52793f08583.tar.xz |
Fix some STL errors highlighted by MSVC debug
Diffstat (limited to 'linden/indra/llrender/llfontregistry.cpp')
-rw-r--r-- | linden/indra/llrender/llfontregistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llrender/llfontregistry.cpp b/linden/indra/llrender/llfontregistry.cpp index 2140dbd..9792a91 100644 --- a/linden/indra/llrender/llfontregistry.cpp +++ b/linden/indra/llrender/llfontregistry.cpp | |||
@@ -107,7 +107,7 @@ bool removeSubString(std::string& str, const std::string& substr) | |||
107 | size_t pos = str.find(substr); | 107 | size_t pos = str.find(substr); |
108 | if (pos != string::npos) | 108 | if (pos != string::npos) |
109 | { | 109 | { |
110 | str.replace(pos,substr.length(),(const char *)NULL, 0); | 110 | str.erase(pos,substr.length()); |
111 | return true; | 111 | return true; |
112 | } | 112 | } |
113 | return false; | 113 | return false; |