@@ -336,16 +336,7 @@ void ResetAnalyticsData() {
336336 g_fake_instance_id++;
337337}
338338
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.
349340
350341void LogEvent (const char * name) {
351342 LogEvent (name, static_cast <const Parameter*>(nullptr ), 0 );
@@ -391,6 +382,17 @@ void LogEvent(const char* name, const char* parameter_name,
391382 LogEvent (name, ¶m, 1 );
392383}
393384
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+
394396void InitiateOnDeviceConversionMeasurementWithEmailAddress (
395397 const char * email_address) {
396398 FIREBASE_ASSERT_RETURN_VOID (internal::IsInitialized ());
0 commit comments