Disable survey unless survey key is defined
This commit is contained in:
@@ -40,7 +40,7 @@ public:
|
|||||||
|
|
||||||
constexpr static bool IsSurveyPossible()
|
constexpr static bool IsSurveyPossible()
|
||||||
{
|
{
|
||||||
#ifndef WITH_NLOHMANN_JSON
|
#if !(defined(WITH_NLOHMANN_JSON) && defined(SURVEY_KEY))
|
||||||
/* Without JSON library, we cannot send a payload; so we disable the survey. */
|
/* Without JSON library, we cannot send a payload; so we disable the survey. */
|
||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
|
Reference in New Issue
Block a user