diff options
author | B. Stack <bgstack15@gmail.com> | 2022-06-26 16:00:37 +0000 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-06-26 16:00:37 +0000 |
commit | 2a026bc7d76875b88700bebc7c5a801fef881bfd (patch) | |
tree | f820b53379f3d14e103e2663e8b0ecd38d1b2105 /zen/stl_tools.h | |
parent | Merge branch 'b11.21' into 'master' (diff) | |
parent | add upstream 11.22 (diff) | |
download | FreeFileSync-11.22.tar.gz FreeFileSync-11.22.tar.bz2 FreeFileSync-11.22.zip |
Merge branch '11.22' into 'master'11.22
add upstream 11.22
See merge request opensource-tracking/FreeFileSync!45
Diffstat (limited to 'zen/stl_tools.h')
-rw-r--r-- | zen/stl_tools.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/zen/stl_tools.h b/zen/stl_tools.h index 9f7977db..2726a09d 100644 --- a/zen/stl_tools.h +++ b/zen/stl_tools.h @@ -78,11 +78,7 @@ template <class T> inline T* get( std::optional<T>& opt) { return opt template <class T> inline const T* get(const std::optional<T>& opt) { return opt ? &*opt : nullptr; } - //=========================================================================== -template <class T> class SharedRef; -template <class T, class... Args> SharedRef<T> makeSharedRef(Args&& ... args); - template <class T> class SharedRef //why is there no std::shared_ref??? { @@ -109,7 +105,6 @@ private: template <class T, class... Args> inline SharedRef<T> makeSharedRef(Args&& ... args) { return SharedRef<T>(std::make_shared<T>(std::forward<Args>(args)...)); } -//=========================================================================== |