Skip to content

Commit

Permalink
Move DECLARE_COMPONENT to the bottom for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Oct 9, 2024
1 parent e4773ec commit cb60ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions k4FWCore/components/UniqueIDGenSvc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
#include <cstdint>
#include <string>

DECLARE_COMPONENT(UniqueIDGenSvc)

UniqueIDGenSvc::UniqueIDGenSvc(const std::string& name, ISvcLocator* svcLoc) : base_class(name, svcLoc) {}

constexpr size_t bits32 = std::numeric_limits<uint32_t>::digits;
Expand Down Expand Up @@ -62,3 +60,5 @@ size_t UniqueIDGenSvc::getUniqueID(uint32_t evt_num, uint32_t run_num, const std

return hash;
}

DECLARE_COMPONENT(UniqueIDGenSvc)

0 comments on commit cb60ae4

Please sign in to comment.