File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class TeamLocality
72
72
* locality domain of a specified team.
73
73
*/
74
74
TeamLocality (
75
- dash::Team & team,
75
+ const dash::Team & team,
76
76
Scope_t scope = Scope_t::Global,
77
77
std::string domain_tag = " ." );
78
78
@@ -81,7 +81,7 @@ class TeamLocality
81
81
* a specified team and locality domain.
82
82
*/
83
83
TeamLocality (
84
- dash::Team & team,
84
+ const dash::Team & team,
85
85
LocalityDomain_t & domain);
86
86
87
87
/* *
@@ -190,7 +190,7 @@ class TeamLocality
190
190
return _domain.num_cores ();
191
191
}
192
192
193
- inline dash::Team & team () const
193
+ inline const dash::Team & team () const
194
194
{
195
195
return (nullptr == _team) ? dash::Team::Null () : *_team;
196
196
}
@@ -235,7 +235,7 @@ class TeamLocality
235
235
}
236
236
237
237
private:
238
- dash::Team * _team = nullptr ;
238
+ const dash::Team * _team = nullptr ;
239
239
// / Parent scope of the team locality domain hierarchy.
240
240
Scope_t _scope = Scope_t::Undefined;
241
241
// / Locality domain of the team.
Original file line number Diff line number Diff line change 14
14
15
15
16
16
dash::util::TeamLocality::TeamLocality (
17
- dash::Team & team,
17
+ const dash::Team & team,
18
18
dash::util::Locality::Scope scope,
19
19
std::string domain_tag)
20
20
: _team(&team),
@@ -44,7 +44,7 @@ dash::util::TeamLocality::TeamLocality(
44
44
}
45
45
46
46
dash::util::TeamLocality::TeamLocality (
47
- dash::Team & team,
47
+ const dash::Team & team,
48
48
dash::util::LocalityDomain & domain)
49
49
: _team(&team),
50
50
_scope(domain.scope()),
You can’t perform that action at this time.
0 commit comments