• Brad King's avatar
    cmArgumentParser: Fix -Wcomma warning · aeddf635
    Brad King authored
    Clang `-Wcomma` warns:
    
    ```
    Source/cmArgumentParser.cxx:58:42: warning: possible misuse of comma operator
      this->CurrentList = (val.emplace_back(), &val.back());
                                             ^
    ```
    
    This was introduced by commit 4359fe13 (Introduce cmArgumentParser,
    2019-03-23).  Suppress it with the suggested cast.
    aeddf635
cmArgumentParser.cxx 2.58 KB