Date: Friday, May 4, 2007 @ 14:23:42
  Author: marc
    Path: /cvsroot/carob/carob/include

Modified: Common.hpp (1.60 -> 1.61)

StringLogLevel(const char *) -> StringLogLevel(const std::string& s)
Implicit cast works this way, not the other


------------+
 Common.hpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: carob/include/Common.hpp
diff -u carob/include/Common.hpp:1.60 carob/include/Common.hpp:1.61
--- carob/include/Common.hpp:1.60       Thu May  3 19:48:01 2007
+++ carob/include/Common.hpp    Fri May  4 14:23:42 2007
@@ -87,7 +87,7 @@
    * <li><code>"OFF"</code></ul>
    * @param s string representing the desired log level
    */
-  StringLogLevel(const char * s)
+  StringLogLevel(const std::string& s)
     : std::string(s)
   { } ; // we have nothing more than the derived std::string
 

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to