Skip to content

Commit da31e56

Browse files
committed
DPL: fix a few warnings
1 parent ea23c37 commit da31e56

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

Framework/Core/include/Framework/GuiCallbackContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace o2::framework
2323
{
2424

2525
struct GuiCallbackContext;
26-
class WSDPLHandler;
26+
struct WSDPLHandler;
2727

2828
struct GuiRenderer {
2929
uv_timer_t drawTimer;

Framework/Core/include/Framework/InitContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace o2::framework
1717
{
1818

19-
class ServiceRegistry;
19+
struct ServiceRegistry;
2020
class ConfigParamRegistry;
2121

2222
// This is a utility class to reduce the amount of boilerplate when defining

Framework/Core/include/Framework/ServiceRegistry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ struct ServiceRegistry {
158158
/// not bonded to a specific stream, e.g. the
159159
/// name of the data processor, its inputs and outputs,
160160
/// it's algorithm.
161-
static Salt dataProcessorSalt(short dataProcessorId)
161+
static Salt dataProcessorSalt(short /* dataProcessorId */)
162162
{
163163
// FIXME: old behaviour for now
164164
// return {0, dataProcessorId};

Framework/Core/include/Framework/ServiceSpec.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ struct ProgOptions;
2626
namespace o2::framework
2727
{
2828

29-
struct InitContext;
29+
class InitContext;
3030
struct DeviceSpec;
3131
struct ServiceRegistry;
32-
struct ServiceRegistryRef;
32+
class ServiceRegistryRef;
3333
struct DeviceState;
34-
struct ProcessingContext;
34+
class ProcessingContext;
3535
class EndOfStreamContext;
3636
struct ConfigContext;
3737
struct WorkflowSpecNode;

Framework/Core/include/Framework/StringHelpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ constexpr auto get_str(const char (&str)[N])
171171
}
172172

173173
template <int N>
174-
constexpr auto get_size(const char (&str)[N])
174+
constexpr auto get_size(const char (&)[N])
175175
{
176176
return N;
177177
}

Framework/Core/src/TMessageSerializer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111
#include <Framework/TMessageSerializer.h>
12-
#include <FairMQTransportFactory.h>
12+
#include <fairmq/TransportFactory.h>
1313
#include <algorithm>
1414
#include <memory>
1515

0 commit comments

Comments
 (0)