@@ -336,16 +336,7 @@ void ResetAnalyticsData() {
336
336
g_fake_instance_id++;
337
337
}
338
338
339
- // --- Stub Implementations for Unsupported Features ---
340
-
341
- void SetConsent (const std::map<ConsentType, ConsentStatus>& consent_settings) {
342
- FIREBASE_ASSERT_RETURN_VOID (internal::IsInitialized ());
343
-
344
- // Not supported by the Windows C API.
345
- (void )consent_settings; // Mark as unused
346
- LogWarning (
347
- " Analytics: SetConsent() is not supported and has no effect on Desktop." );
348
- }
339
+ // Overloaded versions of LogEvent for convenience.
349
340
350
341
void LogEvent (const char * name) {
351
342
LogEvent (name, static_cast <const Parameter*>(nullptr ), 0 );
@@ -391,6 +382,17 @@ void LogEvent(const char* name, const char* parameter_name,
391
382
LogEvent (name, ¶m, 1 );
392
383
}
393
384
385
+ // --- Stub Implementations for Unsupported Features ---
386
+
387
+ void SetConsent (const std::map<ConsentType, ConsentStatus>& consent_settings) {
388
+ FIREBASE_ASSERT_RETURN_VOID (internal::IsInitialized ());
389
+
390
+ // Not supported by the Windows C API.
391
+ (void )consent_settings; // Mark as unused
392
+ LogWarning (
393
+ " Analytics: SetConsent() is not supported and has no effect on Desktop." );
394
+ }
395
+
394
396
void InitiateOnDeviceConversionMeasurementWithEmailAddress (
395
397
const char * email_address) {
396
398
FIREBASE_ASSERT_RETURN_VOID (internal::IsInitialized ());
0 commit comments