diff options
author | Mathias Gumz <akira@fluxbox.org> | 2016-09-11 09:21:00 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-09-11 09:21:00 (GMT) |
commit | 52c9f6257d86e2882434497acf3d8243394fdb8f (patch) | |
tree | b1055875fa29fb9e88f09a2362267539d003c173 /src/main.cc | |
parent | 5fc00dee32de8d31b7220c338810e86043eb87ae (diff) | |
download | fluxbox-52c9f6257d86e2882434497acf3d8243394fdb8f.zip fluxbox-52c9f6257d86e2882434497acf3d8243394fdb8f.tar.bz2 |
std::auto_ptr to std::unique_ptr
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc index 3cc728d..574020a 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -59,7 +59,6 @@ using std::string; | |||
59 | using std::ostream; | 59 | using std::ostream; |
60 | using std::ofstream; | 60 | using std::ofstream; |
61 | using std::streambuf; | 61 | using std::streambuf; |
62 | using std::auto_ptr; | ||
63 | using std::out_of_range; | 62 | using std::out_of_range; |
64 | using std::runtime_error; | 63 | using std::runtime_error; |
65 | using std::bad_cast; | 64 | using std::bad_cast; |
@@ -68,7 +67,7 @@ using std::exception; | |||
68 | 67 | ||
69 | namespace { | 68 | namespace { |
70 | 69 | ||
71 | auto_ptr<Fluxbox> fluxbox; | 70 | std::unique_ptr<Fluxbox> fluxbox; |
72 | 71 | ||
73 | void handleSignal(int signum) { | 72 | void handleSignal(int signum) { |
74 | 73 | ||