diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-01-13 10:24:01 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-01-21 12:47:54 -0600 |
commit | 7e2edf7057edc17b3991566ac5559dfde8966934 (patch) | |
tree | fcd88e561dfda45177cb78d7a6e769d183d320e1 /host/tests/devtest | |
parent | 7b436148467559a967abffd7c8c2679c629194de (diff) | |
download | uhd-7e2edf7057edc17b3991566ac5559dfde8966934.tar.gz uhd-7e2edf7057edc17b3991566ac5559dfde8966934.tar.bz2 uhd-7e2edf7057edc17b3991566ac5559dfde8966934.zip |
sim: Fix CHDR header stringification
Prior to Boost 1.66, boost::format() did not support the %b format
specifier, yet the minimum version of Boost required to build UHD is
Boost 1.58 (as specified in the CMakeLists.txt file).
Rather than force an upgrade of Boost on everyone, this commit replaces
the %b format specifiers with %c and provides 'Y' or 'N' values based on
the Booleans in the CHDR header being printed (EOV and EOB).
Diffstat (limited to 'host/tests/devtest')
0 files changed, 0 insertions, 0 deletions