Fix for compatibility with Boost 1.66

Compatibility with at least as early as Boost 1.58 still persists

Signed-off-by: Anton Gerasimov <tossel@gmail.com>
This commit is contained in:
Anton Gerasimov 2019-02-21 22:33:42 +01:00 committed by Jacob Perron
parent 5723673141
commit 070550e655

View file

@ -44,7 +44,7 @@ namespace create {
void SerialQuery::flushInput() {
// Only works with POSIX support
tcflush(port.lowest_layer().native(), TCIFLUSH);
tcflush(port.lowest_layer().native_handle(), TCIFLUSH);
}
void SerialQuery::processByte(uint8_t byteRead) {