Skip to content

Commit ee61d92

Browse files
committed
silence clang warning about final dtor in non-final class
1 parent 5bd07f2 commit ee61d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redev_channel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class Channel {
8787
virtual void EndReceiveCommunicationPhase() = 0;
8888
virtual ~ChannelConcept() noexcept {}
8989
};
90-
template <typename T> class ChannelModel : public ChannelConcept {
90+
template <typename T> class ChannelModel final : public ChannelConcept {
9191
public:
9292
ChannelModel(T &&impl) : ChannelConcept(), impl_(std::forward<T>(impl)) {}
9393
// since we don't have templated virtual functions, we convert the type to a

0 commit comments

Comments
 (0)