From e4e88cca931569011290a036fed6b1602ac80839 Mon Sep 17 00:00:00 2001 From: Norris Lee Date: Mon, 6 Apr 2015 11:20:34 -0700 Subject: DRILL-2671: C++ Client Authentication API passing std::string across DLL boundaries --- contrib/native/client/src/include/drill/drillClient.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/native/client/src/include') diff --git a/contrib/native/client/src/include/drill/drillClient.hpp b/contrib/native/client/src/include/drill/drillClient.hpp index c288c7073..d7bf33c07 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); } -- cgit v1.2.3