diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-06 20:27:39 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-06 20:27:39 (GMT) |
commit | d63c1e4e6e8507cb1c8425d521cf61fa4adbf4a8 (patch) | |
tree | a10ebfd356b5592f2e8c39e9ce35701249ce6bd7 /Source/cmCacheManager.h | |
parent | ca8c3d64c8accebeacf322f0574494ffddb039c5 (diff) | |
download | CMake-d63c1e4e6e8507cb1c8425d521cf61fa4adbf4a8.zip CMake-d63c1e4e6e8507cb1c8425d521cf61fa4adbf4a8.tar.gz CMake-d63c1e4e6e8507cb1c8425d521cf61fa4adbf4a8.tar.bz2 |
clang-tidy: modernize-return-braced-init-list
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index a988bd8..faa60c5 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -94,7 +94,7 @@ public: }; //! return an iterator to iterate through the cache map - cmCacheManager::CacheIterator NewIterator() { return CacheIterator(*this); } + cmCacheManager::CacheIterator NewIterator() { return { *this }; } //! Load a cache for given makefile. Loads from path/CMakeCache.txt. bool LoadCache(const std::string& path, bool internal, |