using const parameter
authorStefan Schubert <schubi@suse.de>
Wed, 25 Oct 2006 11:12:35 +0000 (11:12 +0000)
committerStefan Schubert <schubi@suse.de>
Wed, 25 Oct 2006 11:12:35 +0000 (11:12 +0000)
zypp/Resolver.cc
zypp/Resolver.h

index d70eac3..50fbecf 100644 (file)
@@ -101,7 +101,7 @@ namespace zypp
   { return _pimpl->timeout(); }
   int Resolver::maxSolverPasses()
   { return _pimpl->maxSolverPasses(); }
-  bool Resolver::createSolverTestcase (std::string dumpPath)
+  bool Resolver::createSolverTestcase (const std::string & dumpPath)
   { solver::detail::Testcase testcase (dumpPath);
     return testcase.createTestcase(*_pimpl);}          
 
index 7a3521a..cdee731 100644 (file)
@@ -231,7 +231,7 @@ namespace zypp
      * Generates a solver Testcase of the current state
      *
      */
-    bool createSolverTestcase (std::string dumpPath = "/var/log/YaST2/solverTestcase");      
+    bool createSolverTestcase (const std::string & dumpPath = "/var/log/YaST2/solverTestcase");      
 
   protected: