Skip to content

Instantly share code, notes, and snippets.

@anden3
Created November 21, 2017 14:59
Show Gist options
  • Select an option

  • Save anden3/cb9b9767f2d486d0bd98d695c76a5ad4 to your computer and use it in GitHub Desktop.

Select an option

Save anden3/cb9b9767f2d486d0bd98d695c76a5ad4 to your computer and use it in GitHub Desktop.
/Users/mac/Documents/C++/task-force-arma-3-radio/ts/src/./settings.hpp:148:10: error: explicit specialization of 'set' in class scope
void set(Setting key, const std::string& value) {
^
/Users/mac/Documents/C++/task-force-arma-3-radio/ts/src/./settings.hpp:198:9: error: chosen constructor is explicit in copy-initialization
Settings(EnumDefault)
^~~~~~~~~~~~~~~~~~~~~
/Users/mac/Documents/C++/task-force-arma-3-radio/ts/src/./settings.hpp:26:50: note: expanded from macro 'Settings'
XX(tangentReleaseDelay, static_cast<float>(0.f))
^
/Users/mac/Documents/C++/task-force-arma-3-radio/ts/src/./settings.hpp:30:26: note: expanded from macro 'EnumDefault'
#define EnumDefault(x,y) y
^
/Users/mac/Documents/C++/task-force-arma-3-radio/ts/src/./settings.hpp:69:14: note: constructor declared here
explicit settingValue() : type(settingType::t_invalid), boolValue(false) {}
^
/Users/mac/Documents/C++/task-force-arma-3-radio/ts/src/./settings.hpp:198:9: note: in implicit initialization of array element 11 with omitted initializer
Settings(EnumDefault)
^
/Users/mac/Documents/C++/task-force-arma-3-radio/ts/src/./settings.hpp:26:50: note: expanded from macro 'Settings'
XX(tangentReleaseDelay, static_cast<float>(0.f))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment