From 070550e655671dfd29430a9870585c57fa78f582 Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Thu, 21 Feb 2019 22:33:42 +0100 Subject: [PATCH] Fix for compatibility with Boost 1.66 Compatibility with at least as early as Boost 1.58 still persists Signed-off-by: Anton Gerasimov --- src/serial_query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serial_query.cpp b/src/serial_query.cpp index a0b7c00..987cd26 100644 --- a/src/serial_query.cpp +++ b/src/serial_query.cpp @@ -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) {