trailofbits / uthenticode

A cross-platform library for verifying Authenticode signatures
https://trailofbits.github.io/uthenticode/
MIT License
133 stars 33 forks source link

src/uthenticode.cpp: add missing <utility> include #63

Closed trofi closed 2 years ago

trofi commented 2 years ago

Without the change build fails on upcoming gcc-13 as:

[ 12%] Building CXX object uthenticode.cpp.o
src/uthenticode.cpp: In constructor 'uthenticode::SignedData::SignedData(uthenticode::SignedData&&)':
src/uthenticode.cpp:177:16: error: 'exchange' is not a member of 'std'
  177 |       p7_(std::exchange(s.p7_, nullptr)),
      |                ^~~~~~~~
CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

woodruffw commented 2 years ago

Thanks!