Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 20 lines 516 B view raw
1From: Sebastián Mancilla <smancill@smancill.dev> 2Subject: Fix virtual destruction 3 4--- 5 src/shogun/solver/LDASolver.h | 2 +- 6 1 file changed, 1 insertion(+), 1 deletion(-) 7 8diff --git a/src/shogun/solver/LDASolver.h b/src/shogun/solver/LDASolver.h 9index 9300a85c5..d500eca5d 100644 10--- a/src/shogun/solver/LDASolver.h 11+++ b/src/shogun/solver/LDASolver.h 12@@ -87,7 +87,7 @@ namespace shogun 13 compute_within_cov(); 14 } 15 16- ~LDASolver() 17+ virtual ~LDASolver() 18 { 19 SG_UNREF(m_features) 20 SG_UNREF(m_labels)