Skip to content

Commit ee3c8a3

Browse files
Fix some compiler warnings on Clang.
1 parent 5778f4e commit ee3c8a3

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

src/resilience/future.h

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ namespace ResilientLegion {
2323

2424
// Wrappers for Legion futures
2525

26-
class FillLauncher;
26+
struct FillLauncher;
2727
class FutureMap;
2828
class FutureMapSerializer;
29-
class IndexFillLauncher;
30-
class IndexTaskLauncher;
29+
struct IndexFillLauncher;
30+
struct IndexTaskLauncher;
3131
class Runtime;
32-
class TaskLauncher;
33-
class TimingLauncher;
34-
class TunableLauncher;
32+
struct TaskLauncher;
33+
struct TimingLauncher;
34+
struct TunableLauncher;
3535

3636
class Future {
3737
public:
@@ -85,15 +85,15 @@ class Future {
8585
Runtime *runtime;
8686
Legion::Future lft;
8787

88-
friend class FillLauncher;
88+
friend struct FillLauncher;
8989
friend class FutureMap;
9090
friend class FutureSerializer;
91-
friend class IndexFillLauncher;
92-
friend class IndexTaskLauncher;
91+
friend struct IndexFillLauncher;
92+
friend struct IndexTaskLauncher;
9393
friend class Runtime;
94-
friend class TaskLauncher;
95-
friend class TimingLauncher;
96-
friend class TunableLauncher;
94+
friend struct TaskLauncher;
95+
friend struct TimingLauncher;
96+
friend struct TunableLauncher;
9797
friend Legion::Future c_obj_convert(const Future &f);
9898
friend Future c_obj_convert(Runtime *r, const Legion::Future &f);
9999
};
@@ -137,14 +137,14 @@ class FutureMap {
137137
Legion::Domain domain;
138138
Legion::FutureMap lfm;
139139

140-
friend class FillLauncher;
140+
friend struct FillLauncher;
141141
friend class FutureMapSerializer;
142-
friend class IndexFillLauncher;
143-
friend class IndexTaskLauncher;
142+
friend struct IndexFillLauncher;
143+
friend struct IndexTaskLauncher;
144144
friend class Runtime;
145-
friend class TaskLauncher;
146-
friend class TimingLauncher;
147-
friend class TunableLauncher;
145+
friend struct TaskLauncher;
146+
friend struct TimingLauncher;
147+
friend struct TunableLauncher;
148148
friend Legion::FutureMap c_obj_convert(const FutureMap &fm);
149149
};
150150

src/resilience/resilience.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ TraceID Runtime::generate_library_trace_ids(const char *name, size_t count) {
17821782
}
17831783

17841784
TraceID Runtime::generate_static_trace_id(void) {
1785-
return Runtime::generate_static_trace_id();
1785+
return Legion::Runtime::generate_static_trace_id();
17861786
}
17871787

17881788
Future Runtime::select_tunable_value(Context ctx, TunableID tid, MapperID mapper,

0 commit comments

Comments
 (0)