Browse Source

Made Analytics::setUserId() and ::setUserProperties() take copies of their arguments instead of references

tags/2021-05-28
ed 7 years ago
parent
commit
83f6fd2cfa
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_analytics/analytics/juce_Analytics.h

+ 2
- 2
modules/juce_analytics/analytics/juce_Analytics.h View File

@@ -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.


Loading…
Cancel
Save