diff options
author | Michele Calgaro <[email protected]> | 2018-08-15 15:18:28 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2018-08-15 15:18:28 +0900 |
commit | d9b6e0bda45134852c38f60f25a5109923f8cd53 (patch) | |
tree | c3f28d048755ff8af5038717e4f6fe0474f74d66 /kgamma/xf86gammacfg | |
parent | b6cbb4874b8b5efd8e086b4ca7089f58c002103c (diff) | |
download | tdegraphics-d9b6e0bda45134852c38f60f25a5109923f8cd53.tar.gz tdegraphics-d9b6e0bda45134852c38f60f25a5109923f8cd53.zip |
Removed old strstream code and switch to sstream permanently.
Inspired by similar work on tdeadmin.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kgamma/xf86gammacfg')
-rw-r--r-- | kgamma/xf86gammacfg/CMakeLists.txt | 4 | ||||
-rw-r--r-- | kgamma/xf86gammacfg/xf86gammacfg.cpp | 7 |
2 files changed, 1 insertions, 10 deletions
diff --git a/kgamma/xf86gammacfg/CMakeLists.txt b/kgamma/xf86gammacfg/CMakeLists.txt index 60dd67c5..420c9163 100644 --- a/kgamma/xf86gammacfg/CMakeLists.txt +++ b/kgamma/xf86gammacfg/CMakeLists.txt @@ -17,10 +17,6 @@ include_directories( #### xf86gammacfg (executable) ################## -if( HAVE_SSTREAM ) - set_source_files_properties( xf86gammacfg.cpp PROPERTIES COMPILE_FLAGS "-DHAVE_SSTREAM" ) -endif( ) - tde_add_executable( xf86gammacfg SOURCES xf86gammacfg.cpp DESTINATION ${BIN_INSTALL_DIR} 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; |