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 FindAndReplace

Changeset 35f564fa1af4

Parent bd71c800ae3f

by Adrian Buehlmann

Changes to one file · Browse files at 35f564fa1af4 Showing diff from parent bd71c800ae3f Diff from another changeset...

 
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 
25
26
27
 
 
 
 
 
 
 
 
 
 
 
28
29
30
@@ -25,17 +25,6 @@
 #include <windows.h>     -// From: http://www.kbcafe.com/articles/cplusplus.tricks.html -template<class T> void FindAndReplace(T& source, const T& find, const T& replace) -{ - size_t j; - for (j = 0; (j = source.find(find, j)) != T::npos;) - { - source.replace(j, find.length(), replace); - j += replace.length(); - } -} -  // Return the length of the longest string in the vector.  int MaxStringLength(const std::vector<std::string>& stringvec);