Skip to content

Commit 6e0883c

Browse files
committed
Please consider the following formatting changes
1 parent 7e8a2e5 commit 6e0883c

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

Framework/Core/include/Framework/ServiceRegistryRef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class ServiceRegistryRef
112112
mRegistry.unlock(mSalt);
113113
}
114114

115-
static ServiceRegistryRef globalDeviceRef(ServiceRegistryRef *ref = nullptr);
115+
static ServiceRegistryRef globalDeviceRef(ServiceRegistryRef* ref = nullptr);
116116

117117
private:
118118
ServiceRegistry& mRegistry;

Framework/Core/src/ServiceRegistryRef.cxx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,18 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12-
1312
#include "Framework/ServiceRegistryRef.h"
14-
namespace o2::framework {
13+
namespace o2::framework
14+
{
1515

16-
ServiceRegistryRef ServiceRegistryRef::globalDeviceRef(ServiceRegistryRef *ref) {
17-
static ServiceRegistryRef *globalRef = nullptr;
16+
ServiceRegistryRef ServiceRegistryRef::globalDeviceRef(ServiceRegistryRef* ref)
17+
{
18+
static ServiceRegistryRef* globalRef = nullptr;
1819
if (!globalRef) {
1920
globalRef = ref;
2021
}
2122
// We return a copy, so that it can be cache
2223
return *globalRef;
2324
}
2425

25-
}
26+
} // namespace o2::framework

0 commit comments

Comments
 (0)