Don't initialize kDestroyWaitTime in-class
authorChristopher Dykes <cdykes@fb.com>
Wed, 4 May 2016 17:28:12 +0000 (10:28 -0700)
committerFacebook Github Bot 0 <facebook-github-bot-0-bot@fb.com>
Wed, 4 May 2016 17:35:42 +0000 (10:35 -0700)
commit32e0fe56c5f8b6b3e59137eef0b2b24821af0169
treecdd5a5d21b20d7b658ea75a36fa59eca1b603bca
parent7d3bbfee07d6216cebf403e975bea355e154e1a9
Don't initialize kDestroyWaitTime in-class

Summary: MSVC doesn't like it when you try to initialize a static in-class non-primitive constexpr member. It was only used in one place, so stick the definition in that function instead.

Reviewed By: yfeldblum

Differential Revision: D3255178

fb-gh-sync-id: e4a862a2662c4f5376c19fc52827cb2953f01e52
fbshipit-source-id: e4a862a2662c4f5376c19fc52827cb2953f01e52
folly/Singleton-inl.h
folly/Singleton.cpp
folly/Singleton.h