From 8cf23354a362dc1792b1195021297333fae3b0df Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 5 Jun 2021 19:14:59 +0300 Subject: fix typos --- _posts/2015-07-03-std-call-once-bug.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_posts/2015-07-03-std-call-once-bug.md') 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. -- cgit v1.2.3