]> git.ipfire.org Git - thirdparty/ccache.git/commit
Make Config noncopyable and add clear_and_reset() method (#522)
authorThomas Otto <thomas.otto@pdv-fs.de>
Sat, 25 Jan 2020 12:45:42 +0000 (13:45 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 25 Jan 2020 12:45:42 +0000 (13:45 +0100)
commite9336fc443f8f1e3c335e6df79a256c7cfeecb56
tree828fa8695410e680539b6e1191732ca616decc8b
parent6ef68c4da5a68d260741b054341fbe838398e051
Make Config noncopyable and add clear_and_reset() method (#522)

Prevents changes from getting lost by writing them to a
temporary copy of the main Config object.

Also restore deleted comments from the move of
primary/secondary_config_path.
src/Config.cpp
src/Config.hpp
src/ccache.cpp