Skip to content

Commit 176054e

Browse files
committed
Please consider the following formatting changes
1 parent 2209231 commit 176054e

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

CCDB/include/CCDB/BasicCCDBManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ T* CCDBManagerInstance::getForTimeStamp(std::string const& path, long timestamp,
342342
}
343343
auto end = std::chrono::system_clock::now();
344344
mTimerMS += std::chrono::duration_cast<std::chrono::milliseconds>(end - start).count();
345-
auto *ref = o2::framework::ServiceRegistryRef::globalDeviceRef();
345+
auto* ref = o2::framework::ServiceRegistryRef::globalDeviceRef();
346346
if (ref && ref->active<framework::DataProcessingStats>()) {
347347
auto& stats = ref->get<o2::framework::DataProcessingStats>();
348348
stats.updateStats({(int)o2::framework::ProcessingStatsId::CCDB_CACHE_HIT, o2::framework::DataProcessingStats::Op::Set, (int64_t)mQueries - mFailures - mFetches});

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)