Fix folly::Singleton error message
authorAndrii Grynenko <andrii@fb.com>
Wed, 4 Feb 2015 20:01:39 +0000 (12:01 -0800)
committerAndrew Cox <andrewcox@fb.com>
Wed, 4 Feb 2015 21:03:50 +0000 (13:03 -0800)
Test Plan: fbmake runtests

Reviewed By: chip@fb.com, pavlo@fb.com

Subscribers: folly-diffs@, yfeldblum

FB internal diff: D1825369

Signature: t1:1825369:1423080185:8507643a3f8860bae6a2240e0ae28fbaf2885b12

folly/experimental/Singleton.cpp

index 2684794eeb26eb475859122be57d12842990423b..560175fbadc7b78f02fe01831aa53cf979662964 100644 (file)
@@ -73,7 +73,8 @@ void SingletonVault::destroyInstance(SingletonMap::iterator entry_it) {
                << "reference at destroyInstances time; beware! Raw pointer "
                << "is " << entry.instance_ptr << ". It is very likely that "
                << "some other singleton is holding a shared_ptr to it. Make "
-               << "dependencies between these singletons are properly defined.";
+               << "sure dependencies between these singletons are properly "
+               << "defined.";
   }
 }