qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject svn commit: r1602304 - /qpid/trunk/qpid/cpp/src/qpid/Options.h
Date Thu, 12 Jun 2014 22:00:17 GMT
Author: astitcher
Date: Thu Jun 12 22:00:16 2014
New Revision: 1602304

URL: http://svn.apache.org/r1602304
Log:
NO-JIRA: We never want to accidentally convert a string to an Options object

Modified:
    qpid/trunk/qpid/cpp/src/qpid/Options.h

Modified: qpid/trunk/qpid/cpp/src/qpid/Options.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/Options.h?rev=1602304&r1=1602303&r2=1602304&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/Options.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/Options.h Thu Jun 12 22:00:16 2014
@@ -153,7 +153,7 @@ struct Options {
         Exception(const std::string& msg) : qpid::Exception(msg) {}
     };
 
-    QPID_COMMON_EXTERN Options(const std::string& name=std::string());
+    QPID_COMMON_EXTERN explicit Options(const std::string& name=std::string());
 
     /**
      * Parses options from argc/argv, environment variables and config file.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message