diff options
author | Mathias Gumz <akira@fluxbox.org> | 2016-08-27 08:05:34 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-08-28 17:49:30 (GMT) |
commit | bb013f5c75120df0f86a7a17cbae61bdca2618f4 (patch) | |
tree | 9d734ef939aa962976e7ee1eca57d75ce1720b71 /src/Toolbar.hh | |
parent | 1e235e3f01733e3282a76e6be8862206d1504bdf (diff) | |
download | fluxbox-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/Toolbar.hh')
-rw-r--r-- | src/Toolbar.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh index 919b22f..6521136 100644 --- a/src/Toolbar.hh +++ b/src/Toolbar.hh | |||
@@ -197,7 +197,7 @@ private: | |||
197 | FbTk::Resource<Placement> m_rc_placement; | 197 | FbTk::Resource<Placement> m_rc_placement; |
198 | FbTk::Resource<int> m_rc_height; | 198 | FbTk::Resource<int> m_rc_height; |
199 | FbTk::Resource<std::string> m_rc_tools; | 199 | FbTk::Resource<std::string> m_rc_tools; |
200 | std::auto_ptr<FbTk::Shape> m_shape; | 200 | std::unique_ptr<FbTk::Shape> m_shape; |
201 | typedef std::list<std::string> StringList; | 201 | typedef std::list<std::string> StringList; |
202 | StringList m_tools; | 202 | StringList m_tools; |
203 | 203 | ||