Fix analytics compilation - still compiled out

This commit is contained in:
baldurk
2018-01-19 11:39:31 +00:00
parent c90ef7529c
commit 8905f6b83a
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -157,7 +157,7 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type)
if(!Analytics::db)
return;
static_assert(sizeof(Analytics) == 140, "Sizeof Analytics has changed - update serialisation.");
static_assert(sizeof(Analytics) == 147, "Sizeof Analytics has changed - update serialisation.");
// Date
{
@@ -177,9 +177,6 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type)
ANALYTIC_SERIALISE(Environment.OfficialBuildRun);
}
// A flag for each dat counting which unique days in the last month the program was run.
ANALYTIC_SERIALISE(Version);
// special handling for reporting DaysUsed, to flatten into a number
if(reporting)
{
@@ -204,7 +201,6 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type)
ANALYTIC_SERIALISE(UIFeatures.ShaderEditing);
ANALYTIC_SERIALISE(UIFeatures.CallstackResolve);
ANALYTIC_SERIALISE(UIFeatures.PixelHistory);
ANALYTIC_SERIALISE(UIFeatures.DrawcallTimes);
ANALYTIC_SERIALISE(UIFeatures.PerformanceCounters);
ANALYTIC_SERIALISE(UIFeatures.PythonInterop);
@@ -217,6 +213,7 @@ void AnalyticsSerialise(QVariantMap &values, AnalyticsSerialiseType type)
ANALYTIC_SERIALISE(UIFeatures.Export.EventBrowser);
ANALYTIC_SERIALISE(UIFeatures.Export.PipelineState);
ANALYTIC_SERIALISE(UIFeatures.Export.MeshOutput);
ANALYTIC_SERIALISE(UIFeatures.Export.RawBuffer);
ANALYTIC_SERIALISE(UIFeatures.Export.TextureSave);
ANALYTIC_SERIALISE(UIFeatures.Export.ShaderSave);
}