File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -303,26 +303,6 @@ int LogPrintStr(const std::string &str)
303
303
return ret;
304
304
}
305
305
306
- void ParseString (const string& str, char c, vector<string>& v)
307
- {
308
- if (str.empty ())
309
- return ;
310
- string::size_type i1 = 0 ;
311
- string::size_type i2;
312
- while (true )
313
- {
314
- i2 = str.find (c, i1);
315
- if (i2 == str.npos )
316
- {
317
- v.push_back (str.substr (i1));
318
- return ;
319
- }
320
- v.push_back (str.substr (i1, i2-i1));
321
- i1 = i2+1 ;
322
- }
323
- }
324
-
325
-
326
306
string FormatMoney (int64_t n, bool fPlus )
327
307
{
328
308
// Note: not using straight sprintf here because we do NOT want
Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ static inline bool error(const char* format)
153
153
154
154
void LogException (std::exception* pex, const char * pszThread);
155
155
void PrintExceptionContinue (std::exception* pex, const char * pszThread);
156
- void ParseString (const std::string& str, char c, std::vector<std::string>& v);
157
156
std::string FormatMoney (int64_t n, bool fPlus =false );
158
157
bool ParseMoney (const std::string& str, int64_t & nRet);
159
158
bool ParseMoney (const char * pszIn, int64_t & nRet);
You can’t perform that action at this time.
0 commit comments