DRILL-2671: C++ Client Authentication API passing std::string across DLL 
boundaries


Project: http://git-wip-us.apache.org/repos/asf/drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/e4e88cca
Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/e4e88cca
Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/e4e88cca

Branch: refs/heads/master
Commit: e4e88cca931569011290a036fed6b1602ac80839
Parents: ab7034b
Author: Norris Lee <norr...@simba.com>
Authored: Mon Apr 6 11:20:34 2015 -0700
Committer: Parth Chandra <pchan...@maprtech.com>
Committed: Mon Apr 6 18:24:06 2015 -0700

----------------------------------------------------------------------
 contrib/native/client/src/include/drill/drillClient.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/drill/blob/e4e88cca/contrib/native/client/src/include/drill/drillClient.hpp
----------------------------------------------------------------------
diff --git a/contrib/native/client/src/include/drill/drillClient.hpp 
b/contrib/native/client/src/include/drill/drillClient.hpp
index c288c70..d7bf33c 100644
--- a/contrib/native/client/src/include/drill/drillClient.hpp
+++ b/contrib/native/client/src/include/drill/drillClient.hpp
@@ -141,7 +141,7 @@ class DECLSPEC_DRILL_CLIENT DrillUserProperties{
 
         DrillUserProperties(){};
 
-        void setProperty( std::string propName, std::string propValue){
+        void setProperty( const std::string& propName, const std::string& 
propValue){
             std::pair< std::string, std::string> in = make_pair(propName, 
propValue);
             m_properties.push_back(in);
         }

Reply via email to