windytan / redsea

Command-line FM-RDS decoder with JSON output.
MIT License
390 stars 36 forks source link

subcarrier.cc needs #include <tuple> for std::tie #31

Closed vogelchr closed 7 years ago

vogelchr commented 7 years ago

To compile out of the box on my system, I need to add #include <tuple> to subcarrier.cc which provides std::tie().

subcarrier.cc: In member function ‘void redsea::Subcarrier::demodulateMoreBits()’: subcarrier.cc:168:9: error: ‘tie’ is not a member of ‘std’ std::tie(is_clock,biphase) = biphasedecoder.push(symbol); ^~~

(compiling with Archlinux's gcc-multilib 6.2.1-1, this package provides the c++ stl)

windytan commented 7 years ago

Thanks a lot! Fixed now.