diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2023-01-14 22:16:04 +0200 |
---|---|---|
committer | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2023-01-14 22:16:04 +0200 |
commit | accd931de51d7cd9e2ce7420d1b0966f07d3ac41 (patch) | |
tree | aec51aa0b2685498b7b0e677fb546575255e26ea | |
parent | 6a17e84370064eec6f22cfb1717ab80cf898d82b (diff) | |
download | ninja-accd931de51d7cd9e2ce7420d1b0966f07d3ac41.tar.gz |
Remove auto_ptr
C++11 is now a hard requirement.
-rw-r--r-- | src/build.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/build.h b/src/build.h index d727a8a..8ec2355 100644 --- a/src/build.h +++ b/src/build.h @@ -215,11 +215,7 @@ struct Builder { State* state_; const BuildConfig& config_; Plan plan_; -#if __cplusplus < 201703L - std::auto_ptr<CommandRunner> command_runner_; -#else - std::unique_ptr<CommandRunner> command_runner_; // auto_ptr was removed in C++17. -#endif + std::unique_ptr<CommandRunner> command_runner_; Status* status_; private: |