From 6f29ada7a051bab6cdb18dd921c119a7845a5840 Mon Sep 17 00:00:00 2001 From: Andrii Grynenko Date: Mon, 13 Jul 2015 10:39:32 -0700 Subject: [PATCH] Fix examples in folly::Singleton code Reviewed By: @chipturner Differential Revision: D2235232 --- folly/Singleton.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/folly/Singleton.h b/folly/Singleton.h index 88eed342..84d6d41b 100644 --- a/folly/Singleton.h +++ b/folly/Singleton.h @@ -53,9 +53,9 @@ // namespace { // struct Tag1 {}; // struct Tag2 {}; -// folly::Singleton s_default(); -// folly::Singleton s1(); -// folly::Singleton s2(); +// folly::Singleton s_default; +// folly::Singleton s1; +// folly::Singleton s2; // } // ... // MyExpensiveService* svc_default = s_default.get(); -- 2.34.1