C++ 17 style nested namespaces (#1326)
Summary: X-link: https://github.com/facebook/react-native/pull/38304 Pull Request resolved: https://github.com/facebook/yoga/pull/1326 For better readability Reviewed By: christophpurrer Differential Revision: D47384926 fbshipit-source-id: 2f60d50a185331b3624d45d1fc45f98d504b3034
This commit is contained in:
committed by
Facebook GitHub Bot
parent
423dc155d8
commit
660edcec20
@@ -12,8 +12,7 @@
|
||||
#include "BitUtils.h"
|
||||
#include "Yoga-internal.h"
|
||||
|
||||
namespace facebook {
|
||||
namespace yoga {
|
||||
namespace facebook::yoga {
|
||||
|
||||
// Whether moving a node from config "a" to config "b" should dirty previously
|
||||
// calculated layout results.
|
||||
@@ -48,8 +47,7 @@ struct YGConfigFlags {
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
} // namespace yoga
|
||||
} // namespace facebook
|
||||
} // namespace facebook::yoga
|
||||
|
||||
struct YOGA_EXPORT YGConfig {
|
||||
YGConfig(YGLogger logger);
|
||||
|
Reference in New Issue
Block a user