From eba2ad612cc25fcfcd7347f360b5506ba8921835 Mon Sep 17 00:00:00 2001 From: Jasmin Jessich Date: Fri, 19 May 2017 20:31:08 +0200 Subject: gcc-6 fixes - New file autoptr.h to switch between "std::unique_ptr" and "std::auto_ptr" depending on the GCC version, by new macro AUTO_PTR. - Removed some "using namespace std" and add some "#define __STL_CONFIG_H" before including header files. This will not define "swap" in vdr/tools.h. - Remove also "using namespace std::tr1". --- tasks.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tasks.cpp') diff --git a/tasks.cpp b/tasks.cpp index 0fbaae7..c8b3c44 100644 --- a/tasks.cpp +++ b/tasks.cpp @@ -13,8 +13,8 @@ namespace vdrlive { -using namespace std; -using namespace std::tr1; +using std::for_each; +using std::tr1::bind; using namespace std::tr1::placeholders; const char* NowReplaying() -- cgit v1.2.3