Skip to content

Commit 6cac47f

Browse files
committed
delete pragma once
1 parent c292c96 commit 6cac47f

File tree

8 files changed

+2
-12
lines changed

8 files changed

+2
-12
lines changed

harmony/smart_refresh_layout/src/main/cpp/ComponentDescriptors.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef SMART_SRC_MAIN_CPP_COMPONENTDESCRIPTORS_H
1818
#define SMART_SRC_MAIN_CPP_COMPONENTDESCRIPTORS_H
1919

20-
#pragma once
2120
#include "ShadowNodes.h"
2221
#include <react/renderer/core/ConcreteComponentDescriptor.h>
2322

harmony/smart_refresh_layout/src/main/cpp/EventEmitters.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#ifndef SMART_SRC_MAIN_CPP_EVENTEMITTERS_H
1818
#define SMART_SRC_MAIN_CPP_EVENTEMITTERS_H
1919

20-
#pragma once
21-
2220
#include <react/renderer/components/view/ViewEventEmitter.h>
2321
#include <jsi/jsi.h>
2422

harmony/smart_refresh_layout/src/main/cpp/Props.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#ifndef SMART_SRC_MAIN_CPP_PROPS_H
1818
#define SMART_SRC_MAIN_CPP_PROPS_H
1919

20-
#pragma once
21-
2220
#include <jsi/jsi.h>
2321
#include <react/renderer/components/view/ViewProps.h>
2422
#include <react/renderer/core/PropsParserContext.h>

harmony/smart_refresh_layout/src/main/cpp/RNCAnyHeaderJSIBinder.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef SMART_SRC_MAIN_CPP_RNCANYHEADERJSIBINDER_H
1818
#define SMART_SRC_MAIN_CPP_RNCANYHEADERJSIBINDER_H
1919

20-
#pragma once
2120
#include "RNOH/UIManagerModule.h"
2221
#include "RNOH/BaseComponentJSIBinder.h"
2322
#include "RNOHCorePackage/ComponentBinders/ViewComponentJSIBinder.h"

harmony/smart_refresh_layout/src/main/cpp/RNCAnyHeaderNapiBinder.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef SMART_SRC_MAIN_CPP_RNCANYHEADERNAPIBINDER_H
1818
#define SMART_SRC_MAIN_CPP_RNCANYHEADERNAPIBINDER_H
1919

20-
#pragma once
2120
#include "RNOH/BaseComponentNapiBinder.h"
2221
#include "Props.h"
2322
#include "RNOHCorePackage/ComponentBinders/ViewComponentNapiBinder.h"

harmony/smart_refresh_layout/src/main/cpp/RNCDefaultHeaderJSIBinder.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#ifndef SMART_SRC_MAIN_CPP_RNCDEFAULTHEADERJSIBINDER_H
1818
#define SMART_SRC_MAIN_CPP_RNCDEFAULTHEADERJSIBINDER_H
1919

20-
#pragma once
2120
#include "RNOH/UIManagerModule.h"
2221
#include "RNOH/BaseComponentJSIBinder.h"
2322
#include "RNOHCorePackage/ComponentBinders/ViewComponentJSIBinder.h"
@@ -38,5 +37,5 @@ class RNCDefaultHeaderJSIBinder : public ViewComponentJSIBinder {
3837
}
3938
};
4039

41-
} // namespace rnoh
40+
} // namespace rnoh0
4241
#endif

harmony/smart_refresh_layout/src/main/cpp/RNCDefaultHeaderNapiBinder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
*/
1515
#ifndef SMART_SRC_MAIN_CPP_RNCDEFAULTHEADERNAPIBINDER_H
1616
#define SMART_SRC_MAIN_CPP_RNCDEFAULTHEADERNAPIBINDER_H
17+
1718
#include "RNOH/BaseComponentNapiBinder.h"
1819
#include "Props.h"
1920
#include "RNOHCorePackage/ComponentBinders/ViewComponentNapiBinder.h"
2021

21-
2222
namespace rnoh {
2323

2424
class RNCDefaultHeaderNapiBinder : public ViewComponentNapiBinder {

harmony/smart_refresh_layout/src/main/cpp/conversions.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
#ifndef SMART_SRC_MAIN_CPP_CONVERSIONS_H
1818
#define SMART_SRC_MAIN_CPP_CONVERSIONS_H
1919

20-
#pragma once
21-
2220
#include <folly/dynamic.h>
2321
#include <react/renderer/components/scrollview/primitives.h>
2422
#include <react/renderer/core/PropsParserContext.h>

0 commit comments

Comments
 (0)