diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-03 18:04:10 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-07-03 18:04:10 +0300 |
commit | abee7196f4d81788184953f0a6ffe0a8bd01b7ff (patch) | |
tree | 6ec1602acb1c1e6c5c1e2e09456d9fa826dc5f19 /_posts | |
parent | replace '_' with '-' in post URLs (diff) | |
download | blog-abee7196f4d81788184953f0a6ffe0a8bd01b7ff.tar.gz blog-abee7196f4d81788184953f0a6ffe0a8bd01b7ff.zip |
std::call_once: fix code samples
Diffstat (limited to '')
-rw-r--r-- | _posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md b/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md index 7b4fcad..197d8ff 100644 --- a/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md +++ b/_posts/2015-07-03-std-call-once-bug-in-visual-studio-2012-2013.md @@ -41,8 +41,6 @@ Anyway, I was designing a software system with a couple of singletons in it. I was trying to do proper singletons using C++11 like this: {% highlight c++ %} -#pragma once - #include <mutex> template <typename DerivedT> |