Skip to content

Commit 606f2ec

Browse files
Fixing errors reported by clang diagnostics
modified: Framework/Core/include/Framework/Dispatcher.h modified: Framework/Core/src/FairMQResizableBuffer.h
1 parent 9e9405e commit 606f2ec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Framework/Core/include/Framework/Dispatcher.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Dispatcher : public Task
3131
/// \brief Constructor
3232
Dispatcher(const std::string name, const std::string reconfigurationSource);
3333
/// \brief Destructor
34-
~Dispatcher();
34+
~Dispatcher() override;
3535

3636
/// \brief Dispatcher init callback
3737
void init(InitContext& ctx) override;

Framework/Core/src/FairMQResizableBuffer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ class FairMQResizableBuffer : public ::arrow::ResizableBuffer
3232
using Creator = std::function<std::unique_ptr<FairMQMessage>(size_t)>;
3333

3434
FairMQResizableBuffer(Creator);
35-
virtual ~FairMQResizableBuffer();
35+
~FairMQResizableBuffer() override;
3636

3737
/// Resize the buffer
3838
///
3939
/// * If new size is larger than the backing message size, a new message
4040
/// will be created.
4141
/// * If new size is smaller than the backing message. We will use
4242
/// FairMQMessage::SetUsedSize() accordingly when finalising the message.
43-
virtual arrow::Status Resize(const int64_t new_size, bool shrink_to_fit) override;
43+
arrow::Status Resize(const int64_t new_size, bool shrink_to_fit) override;
4444
/// Reserve behaves as std::vector<T>::reserve()
4545
///
46-
/// * If new capacity is greated than old capacity, reallocation happens
46+
/// * If new capacity is greater than old capacity, reallocation happens
4747
/// * If new capacity is smaller than the old one, nothing happens.
48-
virtual arrow::Status Reserve(const int64_t capacity) override;
48+
arrow::Status Reserve(const int64_t capacity) override;
4949

5050
/// @return the message to be sent. This will make the buffer lose ownership
5151
/// of the backing store, so you will have to either create a new one or

0 commit comments

Comments
 (0)