From b0e6523abdbb6caa53248e73814095836e85a1a5 Mon Sep 17 00:00:00 2001 From: Xiaoyu Chen Date: Mon, 13 Nov 2017 11:05:20 -0800 Subject: [PATCH] Minor fix to pass clang compilers --- src/c++/lib/htsapi/bam_streamer.cpp | 3 +++ src/c++/lib/htsapi/bam_streamer.hh | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/c++/lib/htsapi/bam_streamer.cpp b/src/c++/lib/htsapi/bam_streamer.cpp index fcb1bf95..b73bc2b8 100644 --- a/src/c++/lib/htsapi/bam_streamer.cpp +++ b/src/c++/lib/htsapi/bam_streamer.cpp @@ -34,6 +34,9 @@ #include +stream_state_reporter:: +~stream_state_reporter(){} + bam_streamer:: bam_streamer( diff --git a/src/c++/lib/htsapi/bam_streamer.hh b/src/c++/lib/htsapi/bam_streamer.hh index c692e67f..b8b99d6a 100644 --- a/src/c++/lib/htsapi/bam_streamer.hh +++ b/src/c++/lib/htsapi/bam_streamer.hh @@ -36,6 +36,8 @@ struct stream_state_reporter { virtual void report_state(std::ostream& /*os*/) const {} + + virtual ~stream_state_reporter(); };