aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/reference.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-16 08:44:38 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-12-19 11:12:39 +0100
commit7c670b40b9fc2681260d0fdbcc275afd9bf6c2e8 (patch)
tree079b9c9db430888764b75ef5d0a514cf371265e0 /sources/shiboken6/tests/libsample/reference.cpp
parent2a37c2a1c8d6ba3ce58a699254eac9da3b1ae106 (diff)
shiboken6/test: Remove using namespace std
It causes clashes wrt std::byte/byte in CMake UNITY_BUILD (jumbo) builds. Task-number: PYSIDE-2155 Change-Id: I62184c363f85ca7aa227453f2a4d776e61ae0c70 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/tests/libsample/reference.cpp')
-rw-r--r--sources/shiboken6/tests/libsample/reference.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/shiboken6/tests/libsample/reference.cpp b/sources/shiboken6/tests/libsample/reference.cpp
index 25db84bfd..8e8152905 100644
--- a/sources/shiboken6/tests/libsample/reference.cpp
+++ b/sources/shiboken6/tests/libsample/reference.cpp
@@ -4,12 +4,10 @@
#include <iostream>
#include "reference.h"
-using namespace std;
-
void
Reference::show() const
{
- cout << "Reference.objId: " << m_objId << ", address: " << this;
+ std::cout << "Reference.objId: " << m_objId << ", address: " << this;
}
Reference &Reference::returnMySecondArg(int, Reference &ref)