From 82edfd2224362eb1f689463512d7497b0d3842bf Mon Sep 17 00:00:00 2001 From: Thomas Juerges <thomas.juerges@skao.int> Date: Mon, 17 Jun 2024 16:11:35 +0900 Subject: [PATCH] Add using namespace std because there are too many places to fix --- test/testdevice/src/TestDevice.h | 2 +- test/testdevice/src/TestDeviceClass.h | 2 +- test/testdevice/src/main.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/testdevice/src/TestDevice.h b/test/testdevice/src/TestDevice.h index a597ad3..905e420 100644 --- a/test/testdevice/src/TestDevice.h +++ b/test/testdevice/src/TestDevice.h @@ -34,6 +34,7 @@ namespace TestDevice_ns { /*----- PROTECTED REGION ID(TestDevice::Additional Class Declarations) ENABLED START -----*/ + using namespace std; // Additional Class Declarations typedef struct { @@ -53,7 +54,6 @@ enum { typeDouble, typeLong, typeBool, typeString, typeUchar}; class TestDevice : public TANGO_BASE_CLASS { - friend class CmdClass; /*----- PROTECTED REGION ID(TestDevice::Data Members) ENABLED START -----*/ diff --git a/test/testdevice/src/TestDeviceClass.h b/test/testdevice/src/TestDeviceClass.h index 145ecd5..7c9d539 100644 --- a/test/testdevice/src/TestDeviceClass.h +++ b/test/testdevice/src/TestDeviceClass.h @@ -30,7 +30,7 @@ namespace TestDevice_ns { /*----- PROTECTED REGION ID(TestDevice::classes for dynamic creation) ENABLED START -----*/ - + using namespace std; /*----- PROTECTED REGION END -----*/ // TestDevice::classes for dynamic creation diff --git a/test/testdevice/src/main.cpp b/test/testdevice/src/main.cpp index cc365f3..16ab44d 100644 --- a/test/testdevice/src/main.cpp +++ b/test/testdevice/src/main.cpp @@ -23,6 +23,7 @@ int main(int argc,char *argv[]) { + using namespace std; Tango::Util *tg = NULL; try { -- GitLab