aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbWindow.hh
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2016-08-27 08:05:34 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-08-28 17:49:30 (GMT)
commitbb013f5c75120df0f86a7a17cbae61bdca2618f4 (patch)
tree9d734ef939aa962976e7ee1eca57d75ce1720b71 /src/FbTk/FbWindow.hh
parent1e235e3f01733e3282a76e6be8862206d1504bdf (diff)
downloadfluxbox-bb013f5c75120df0f86a7a17cbae61bdca2618f4.zip
fluxbox-bb013f5c75120df0f86a7a17cbae61bdca2618f4.tar.bz2
fix compiler warning about std::auto_ptr
fluxbox uses std::unique_ptr<> where it previously used std::auto_ptr<>. C++0X was approved in 2011. among other things, it deprecates std::auto_ptr. 5 years is long enough for compilers to catch up the standard.
Diffstat (limited to 'src/FbTk/FbWindow.hh')
-rw-r--r--src/FbTk/FbWindow.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/FbWindow.hh b/src/FbTk/FbWindow.hh
index 5501d88..f1bbb19 100644
--- a/src/FbTk/FbWindow.hh
+++ b/src/FbTk/FbWindow.hh
@@ -241,7 +241,7 @@ private:
241 unsigned long m_border_color; ///< border color 241 unsigned long m_border_color; ///< border color
242 unsigned int m_depth; ///< bit depth 242 unsigned int m_depth; ///< bit depth
243 bool m_destroy; ///< wheter the x window was created before 243 bool m_destroy; ///< wheter the x window was created before
244 std::auto_ptr<FbTk::Transparent> m_transparent; 244 std::unique_ptr<FbTk::Transparent> m_transparent;
245 bool m_lastbg_color_set; 245 bool m_lastbg_color_set;
246 unsigned long m_lastbg_color; 246 unsigned long m_lastbg_color;
247 Pixmap m_lastbg_pm; 247 Pixmap m_lastbg_pm;