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

dirstate.cpp: use const string& on relpath params

Changeset 4f1e90e1f4e8

Parent 20b0a02116a6

by Adrian Buehlmann

Changes to one file · Browse files at 4f1e90e1f4e8 Showing diff from parent 20b0a02116a6 Diff from another changeset...

 
259
260
261
262
 
263
264
265
 
312
313
314
315
 
316
317
318
 
259
260
261
 
262
263
264
265
 
312
313
314
 
315
316
317
318
@@ -259,7 +259,7 @@
   static int HgQueryDirstateDirectory(   const std::string& hgroot, const dirstate* pd, - std::string& relpath, char& outStatus) + const std::string& relpath, char& outStatus)  {   bool added = false;   bool modified = false; @@ -312,7 +312,7 @@
     static int HgQueryDirstateFile( - const dirstate* pd, std::string& relpath, + const dirstate* pd, const std::string& relpath,   const struct _stat& stat, char& outStatus)  {   for (dirstate::Iter iter = pd->begin(); iter != pd->end(); ++iter)