Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

shellext: remove unused CutFirstToken

Changeset 93559485b4c0

Parent 26c42d2f947a

by Adrian Buehlmann

Changes to 2 files · Browse files at 93559485b4c0 Showing diff from parent 26c42d2f947a Diff from another changeset...

 
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
 
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
49
50
@@ -45,28 +45,6 @@
 }     - -// Cuts the first token off a delimited list -std::string CutFirstToken(std::string& sList, const std::string& sDelimiter) -{ - std::string::size_type p = sList.find(sDelimiter); - std::string sResult; - - if (p == std::string::npos) - { - sResult = sList; - sList = ""; - return sResult; - } - else - { - sResult = sList.substr(0, p); - sList = sList.substr(p + sDelimiter.length(), sList.length()); - return sResult; - } -} - -  // Convert Unicode string to multibyte string  std::string WideToMultibyte(const std::wstring& wide, UINT CodePage)  {
 
29
30
31
32
33
34
35
36
37
 
29
30
31
 
 
 
32
33
34
@@ -29,9 +29,6 @@
 // Quotes a string  std::string Quote(const std::string& str);   -// Cuts the first token off a delimited list -std::string CutFirstToken(std::string& sList, const std::string sDelimiter); -  // Convert Unicode string to multibyte string  std::string WideToMultibyte(const std::wstring& wide, UINT CodePage = CP_ACP);