diff options
Diffstat (limited to '_posts/2015-07-03-std-call-once-bug.md')
-rw-r--r-- | _posts/2015-07-03-std-call-once-bug.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2015-07-03-std-call-once-bug.md b/_posts/2015-07-03-std-call-once-bug.md index 68983cf..9e82b84 100644 --- a/_posts/2015-07-03-std-call-once-bug.md +++ b/_posts/2015-07-03-std-call-once-bug.md @@ -128,7 +128,7 @@ Unfortunately, matters became a bit more complicated when I tried to introduce two singletons, one having a dependency on the other. I had `Logger`, like in the example above, and some kind of a "master" singleton (let's call it `Duke`). -`Duke`'s constructor was complicated and time-consuming, and definetely +`Duke`'s constructor was complicated and time-consuming, and definitely required some logging to be done. I thought that I could simply call `Logger::get_instance` inside `Duke`'s constructor, and everything looked fine at first glance. |