aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/complex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/complex.cpp')
-rw-r--r--sources/shiboken6/tests/libsample/complex.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/shiboken6/tests/libsample/complex.cpp b/sources/shiboken6/tests/libsample/complex.cpp
index ce2c2b7de..d06b33fbf 100644
--- a/sources/shiboken6/tests/libsample/complex.cpp
+++ b/sources/shiboken6/tests/libsample/complex.cpp
@@ -4,8 +4,6 @@
#include <iostream>
#include "complex.h"
-using namespace std;
-
Complex::Complex(double real, double imag)
: m_real(real), m_imag(imag)
{
@@ -23,7 +21,7 @@ Complex::operator+(Complex& other)
void
Complex::show()
{
- cout << "(real: " << m_real << ", imag: " << m_imag << ")";
+ std::cout << "(real: " << m_real << ", imag: " << m_imag << ")";
}