summaryrefslogtreecommitdiffstats
path: root/kgamma/xf86gammacfg/xf86gammacfg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-15 15:18:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-15 15:21:07 +0900
commitbd3f7cb38491f4cbd0e93b2b744d664fa712f5aa (patch)
treebe92e50ebe2912d1d78b908372ee6c39124de9af /kgamma/xf86gammacfg/xf86gammacfg.cpp
parente80dd1194dd7bc8fae149bf44a32f834381f9781 (diff)
downloadtdegraphics-bd3f7cb38491f4cbd0e93b2b744d664fa712f5aa.tar.gz
tdegraphics-bd3f7cb38491f4cbd0e93b2b744d664fa712f5aa.zip
Removed old strstream code and switch to sstream permanently.
Inspired by similar work on tdeadmin. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d9b6e0bda45134852c38f60f25a5109923f8cd53)
Diffstat (limited to 'kgamma/xf86gammacfg/xf86gammacfg.cpp')
-rw-r--r--kgamma/xf86gammacfg/xf86gammacfg.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/kgamma/xf86gammacfg/xf86gammacfg.cpp b/kgamma/xf86gammacfg/xf86gammacfg.cpp
index db98a8fb..640940e7 100644
--- a/kgamma/xf86gammacfg/xf86gammacfg.cpp
+++ b/kgamma/xf86gammacfg/xf86gammacfg.cpp
@@ -23,15 +23,10 @@
#include <fstream>
#include <string>
#include <vector>
+#include <sstream>
#include <config.h>
-#ifdef HAVE_SSTREAM
-#include <sstream>
-#else
-#include <strstream.h>
-#define istringstream istrstream
-#endif
using namespace std;