folly::settings do not inline settings definition
Summary: If FOLLY_SETTING_DEFINE(...) is put into .cpp file right now you will get linker error about undefined references. According to http://en.cppreference.com/w/cpp/language/inline 2) The definition of an inline function or variable (since C++17) must be present in the translation unit where it is accessed (not necessarily before the point of access). Hence the linker error. This diff fixes that. Reviewed By: alikhtarov, mnv104 Differential Revision: D7567469 fbshipit-source-id: 02049e4881e50c414aeb506745e02eed1256daad
Showing
Please register or sign in to comment