mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-26 16:39:44 -06:00
Merge topic 'argument-parser-warning'
aeddf63587 cmArgumentParser: Fix -Wcomma warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3214
This commit is contained in:
@@ -55,7 +55,7 @@ void Instance::Bind(StringList& val)
|
||||
void Instance::Bind(MultiStringList& val)
|
||||
{
|
||||
this->CurrentString = nullptr;
|
||||
this->CurrentList = (val.emplace_back(), &val.back());
|
||||
this->CurrentList = (static_cast<void>(val.emplace_back()), &val.back());
|
||||
this->ExpectValue = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user