From 42e63310dc9a9102096ed65d60f863ee62868d16 Mon Sep 17 00:00:00 2001 From: Matt Flax Date: Mon, 16 Jan 2023 13:55:43 +1100 Subject: [PATCH] string should be declared in the std scope. --- linux/iio/JackIIODriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/iio/JackIIODriver.cpp b/linux/iio/JackIIODriver.cpp index c73d9bd2..23c9de68 100644 --- a/linux/iio/JackIIODriver.cpp +++ b/linux/iio/JackIIODriver.cpp @@ -139,7 +139,7 @@ SERVER_EXPORT Jack::JackDriverClientInterface* driver_initialize(Jack::JackLocke int ret, colCnt; Jack::JackDriverClientInterface* threaded_driver=NULL; - string chipName(IIO_DEFAULT_CHIP); // the default chip name to search for in the IIO devices. + std::string chipName(IIO_DEFAULT_CHIP); // the default chip name to search for in the IIO devices. float fs = IIO_DEFAULT_READ_FS; // IIO sample rate is fixed. jack_nframes_t periodSize = IIO_DEFAULT_PERIOD_SIZE; // default block size jack_nframes_t periodCount = IIO_DEFAULT_PERIOD_COUNT; // default block count