Skip to content

Commit 388c2ff

Browse files
committed
[nfc] Add header guards and "requres cplusplus" to C++ benchmarks.
1 parent 62e3896 commit 388c2ff

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
#ifndef BENCHMARK_CREATE_OBJECTS_H
2+
#define BENCHMARK_CREATE_OBJECTS_H
3+
14
struct CxxLoadableIntWrapper {
25
int value;
36
};
7+
8+
#endif // BENCHMARK_CREATE_OBJECTS_H
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module CxxCreateObjects {
22
header "CreateObjects.h"
3+
requires cplusplus
34
}

0 commit comments

Comments
 (0)