Added workaround for GCC 6 compiler error.
This commit is contained in:
parent
abdc4e31dc
commit
5427876e36
@ -6,6 +6,11 @@
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Nasty workaround needed for GCC prior to version 7
|
||||
constexpr decltype(OptionGroupBasic::Name) OptionGroupBasic::Name;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void OptionGroupBasic::addTo(cxxopts::Options &options)
|
||||
{
|
||||
options.add_options(Name)
|
||||
@ -25,6 +30,11 @@ void OptionGroupBasic::parse(cxxopts::Options &options)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Nasty workaround needed for GCC prior to version 7
|
||||
constexpr decltype(OptionGroupOutput::Name) OptionGroupOutput::Name;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void OptionGroupOutput::addTo(cxxopts::Options &options)
|
||||
{
|
||||
options.add_options(Name)
|
||||
@ -61,6 +71,11 @@ void OptionGroupOutput::parse(cxxopts::Options &options)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Nasty workaround needed for GCC prior to version 7
|
||||
constexpr decltype(OptionGroupParser::Name) OptionGroupParser::Name;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void OptionGroupParser::addTo(cxxopts::Options &options)
|
||||
{
|
||||
options.add_options(Name)
|
||||
|
Reference in New Issue
Block a user