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 MaxStringLength

Changeset 674aa42b55df

Parent d82315950cc7

by Adrian Buehlmann

Changes to 2 files · Browse files at 674aa42b55df Showing diff from parent d82315950cc7 Diff from another changeset...

 
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
28
29
30
 
 
 
 
 
 
 
 
 
31
32
33
@@ -28,15 +28,6 @@
  return 0;  }   -int MaxStringLength(const std::vector<std::string>& stringvec) -{ - unsigned int max = 0; - for (std::vector<std::string>::const_iterator it = stringvec.begin(); it != stringvec.end(); ++it) - if ((*it).size() > max) - max = static_cast<unsigned int>((*it).size()); - return max; -} -    // Remove leading whitespaces from a string  std::string TrimLeft(const std::string& str)
 
25
26
27
28
29
30
31
32
33
 
25
26
27
 
 
 
28
29
30
@@ -25,9 +25,6 @@
 #include <windows.h>     -// Return the length of the longest string in the vector. -int MaxStringLength(const std::vector<std::string>& stringvec); -  // Remove leading whitespaces from a string  std::string TrimLeft(const std::string& str);