From 3a3199b5c77d5b84e659aed27d94d5268b8d9086 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 4 Sep 2021 12:52:19 +0900 Subject: Fixed FTBFS with gcc 4.8 when using c++11 standard. Signed-off-by: Michele Calgaro (cherry picked from commit 064d38f2c87d137755c61d1eae4e3b2af12b2393) --- kcontrol/displayconfig/displayconfig.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kcontrol/displayconfig/displayconfig.cpp b/kcontrol/displayconfig/displayconfig.cpp index 4408e2c74..4c96fabf1 100644 --- a/kcontrol/displayconfig/displayconfig.cpp +++ b/kcontrol/displayconfig/displayconfig.cpp @@ -60,11 +60,6 @@ #include "displayconfig.h" -using namespace std; -#ifdef __OpenBSD__ -#define abs __gnu_cxx::abs -#endif - /**** DLL Interface ****/ typedef KGenericFactory KDisplayCFactory; K_EXPORT_COMPONENT_FACTORY( kcm_displayconfig, KDisplayCFactory("kcmdisplayconfig") ) -- cgit v1.2.1