Skip to content

Commit

Permalink
zlog: fix virtual destructor warning
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Aug 19, 2016
1 parent 01a06b2 commit 23493aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/include/zlog/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class AioCompletion {
class Log {
public:
Log() {}
virtual ~Log();

/*
* Synchronous API
Expand Down
2 changes: 2 additions & 0 deletions src/libzlog/log_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

namespace zlog {

Log::~Log() {}

std::string LogImpl::metalog_oid_from_name(const std::string& name)
{
std::stringstream ss;
Expand Down

0 comments on commit 23493aa

Please sign in to comment.