diff --git a/yoga/YGLayout.cpp b/yoga/YGLayout.cpp index 208a6fe3f5..4d798476ab 100644 --- a/yoga/YGLayout.cpp +++ b/yoga/YGLayout.cpp @@ -1,11 +1,10 @@ /** * Copyright (c) 2014-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #include "YGLayout.h" #include "Utils.h" diff --git a/yoga/YGLayout.h b/yoga/YGLayout.h index 125a6d0b03..cfe559f64b 100644 --- a/yoga/YGLayout.h +++ b/yoga/YGLayout.h @@ -1,11 +1,10 @@ /** * Copyright (c) 2014-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include "Yoga-internal.h" diff --git a/yoga/YGStyle.cpp b/yoga/YGStyle.cpp index 56b5a1e69e..f3bc16fe1c 100644 --- a/yoga/YGStyle.cpp +++ b/yoga/YGStyle.cpp @@ -1,11 +1,10 @@ /** * Copyright (c) 2014-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #include "YGStyle.h" const YGValue kYGValueUndefined = {YGUndefined, YGUnitUndefined}; diff --git a/yoga/YGStyle.h b/yoga/YGStyle.h index a95b4a297e..74b9d6e0ba 100644 --- a/yoga/YGStyle.h +++ b/yoga/YGStyle.h @@ -1,11 +1,10 @@ /** * Copyright (c) 2014-present, Facebook, Inc. - * All rights reserved. * - * This source code is licensed under the BSD-style license found in the - * LICENSE file in the root directory of this source tree. An additional grant - * of patent rights can be found in the PATENTS file in the same directory. + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. */ + #pragma once #include "Yoga-internal.h" #include "Yoga.h"