Skip to content

Commit

Permalink
Merge pull request #29 from DUNE-DAQ/eflumerf/FixLoggingInclude
Browse files Browse the repository at this point in the history
Include logging/Logging.hpp whenever ERS issues are declared, includi…
  • Loading branch information
jcfreeman2 authored Feb 14, 2025
2 parents 05f512c + 017f862 commit aef479d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions include/restcmd/Issues.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@


#include "ers/Issue.hpp"
#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
#include <string>

namespace dunedaq {
Expand Down
2 changes: 1 addition & 1 deletion plugins/restCommandFacility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include "utilities/Resolver.hpp"

#include <cetlib/BasicPluginFactory.h>
#include <logging/Logging.hpp>
#include "logging/Logging.hpp"
#include <tbb/concurrent_queue.h>

#include <chrono>
Expand Down
2 changes: 1 addition & 1 deletion src/RestEndpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/
#include "restcmd/RestEndpoint.hpp"

#include <logging/Logging.hpp>
#include "logging/Logging.hpp"

#include <chrono>
#include <future>
Expand Down
2 changes: 1 addition & 1 deletion test/apps/rest_commanded_object.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "cmdlib/CommandedObject.hpp"

#include <logging/Logging.hpp>
#include "logging/Logging.hpp"

#include <stdexcept>
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion test/apps/test_rest_app.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "cmdlib/CommandedObject.hpp"
#include "rest_commanded_object.hpp"

#include <logging/Logging.hpp>
#include "logging/Logging.hpp"

#include <string>
#include <chrono>
Expand Down

0 comments on commit aef479d

Please sign in to comment.