From 83f6fd2cfadb3a0a4da6f098790fa2926ebc9b57 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 12 Mar 2018 14:53:35 +0000 Subject: [PATCH] Made Analytics::setUserId() and ::setUserProperties() take copies of their arguments instead of references --- modules/juce_analytics/analytics/juce_Analytics.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_analytics/analytics/juce_Analytics.h b/modules/juce_analytics/analytics/juce_Analytics.h index db506a1dab..4b0f21ddd7 100644 --- a/modules/juce_analytics/analytics/juce_Analytics.h +++ b/modules/juce_analytics/analytics/juce_Analytics.h @@ -64,14 +64,14 @@ public: @param newUserId the userId to add to AnalyticsEvents */ - void setUserId (const String& newUserId); + void setUserId (String newUserId); /** Sets some user properties that will be added to all AnalyticsEvents sent to AnalyticsDestinations. @param properties the userProperties to add to AnalyticsEvents */ - void setUserProperties (const StringPairArray& properties); + void setUserProperties (StringPairArray properties); /** Sends an AnalyticsEvent to all AnalyticsDestinations.