Skip to content
Snippets Groups Projects
Commit 3aa3fb14 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add override to macro

parent 85e04601
No related branches found
No related tags found
No related merge requests found
......@@ -271,16 +271,16 @@ namespace armarx
{ \
using TupleT = decltype(std::make_tuple(__VA_ARGS__)); \
const TupleT tuple; \
virtual RtMessageLogEntryBase* _placementCopyConstruct(void* place) const final \
RtMessageLogEntryBase* _placementCopyConstruct(void* place) const final override \
{ \
return new(place) RtMessageLogEntry(*this); \
} \
virtual std::size_t _sizeInBytes() const final {return sizeof(RtMessageLogEntry);} \
virtual std::size_t _alignof() const final {return alignof(RtMessageLogEntry);} \
virtual std::size_t line() const final {return line_;} \
virtual std::string file() const final {return file_;} \
virtual std::string func() const final {return func_;} \
virtual std::string format() const final \
std::size_t _sizeInBytes() const final override {return sizeof(RtMessageLogEntry);} \
std::size_t _alignof() const final override {return alignof(RtMessageLogEntry);} \
std::size_t line() const final override {return line_;} \
std::string file() const final override {return file_;} \
std::string func() const final override {return func_;} \
std::string format() const final override \
{ \
return TupleToStringF<0,std::tuple_size<TupleT>::value -1>(FormatString, tuple); \
} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment