Skip to content
Snippets Groups Projects

Replace boost with STL or CxxUtils

Merged Andrii Verbytskyi requested to merge averbyts/athena:drop_boost_another_mr into main
1 unresolved thread

Replace boost with STL or CxxUtils

Merge request reports

Pipeline #6294549 passed

Pipeline passed for a99f4c20 on averbyts:drop_boost_another_mr

Approval is optional

Merged by Adam Edward BartonAdam Edward Barton 1 year ago (Oct 6, 2023 2:35pm UTC)

Merge details

  • Changes merged into main with 23fc18f5 (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
2 2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 3 */
4 4
5
6 #include <boost/algorithm/string/predicate.hpp>
7 5 #include "AthenaMonitoringKernel/MonitoredTimer.h"
6 #include <stdexcept>
8 7
9 8 namespace Monitored {
10 9 void checkNamingConvention( const std::string& name ) {
11 10 // Enforce some naming convention for timers
12 const char* TIMER_PREFIX = "TIME_"; //<! prefix required for all timers
13 if (!boost::algorithm::starts_with(name, TIMER_PREFIX)) {
14 throw std::runtime_error("Name of Timer \"" + name + "\" needs to start with \"" +
15 TIMER_PREFIX + "\"");
11 if (name.size() < 5 || name.substr(0,5) != std::string("TIME_")) {
  • Adam Edward Barton mentioned in merge request !66324 (merged)

    mentioned in merge request !66324 (merged)

  • Stewart Martin-Haugh mentioned in merge request !66343 (closed)

    mentioned in merge request !66343 (closed)

  • Please register or sign in to reply
    Loading