From 54aba1de64f900875c910b7a2ddcf60ee8752a5a Mon Sep 17 00:00:00 2001 From: Ge Wang Date: Sat, 18 May 2024 14:53:04 -0700 Subject: [PATCH] util_serial iOS stub compilation --- src/core/util_buffers.h | 2 +- src/core/util_serial.cpp | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/core/util_buffers.h b/src/core/util_buffers.h index c7d0be688..7b095670b 100644 --- a/src/core/util_buffers.h +++ b/src/core/util_buffers.h @@ -343,7 +343,7 @@ class FastCircularBuffer //----------------------------------------------------------------------------- // name: FinalRingBuffer -// desc: hopefully this will the last lock-free queue we need to implement... +// desc: hopefully this will be the last lock-free queue we need to implement... // hopefully not like FinalFantasy which has sequels // // added 1.5.2.5 (ge) | adapted from: diff --git a/src/core/util_serial.cpp b/src/core/util_serial.cpp index 917973421..f69798315 100644 --- a/src/core/util_serial.cpp +++ b/src/core/util_serial.cpp @@ -258,12 +258,15 @@ vector SerialIOManager::availableSerialDevices() } -#else // ? e.g. iPhone +#else // ? e.g., iPhone -vector SerialIOManager::availableSerialDevices() -{ - vector devices; +// for compatibility | 1.5.2.5 (ge & eito) added std:: +std::vector SerialIOManager::availableSerialDevices() +{ + // vector of devices + std::vector devices; + // return empty list return devices; }