Skip to content

Commit

Permalink
Fix htm-community#274 compiler error for delete-non-virtual-dtor.
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Feb 22, 2019
1 parent 686e801 commit c807afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nupic/utils/SdrMetrics.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class SDR_MetricsHelper_ {
callback( data, 1.0f / std::min( period_, (UInt) ++samples_ ));
}

~SDR_MetricsHelper_() {
virtual ~SDR_MetricsHelper_() {
deconstruct();
}
};
Expand Down

0 comments on commit c807afe

Please sign in to comment.