mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
5873454b52
Fix warnings related to virtual destruction. Kinda important to fix.
21 lines
516 B
Diff
21 lines
516 B
Diff
From: Sebastián Mancilla <smancill@smancill.dev>
|
|
Subject: Fix virtual destruction
|
|
|
|
---
|
|
src/shogun/solver/LDASolver.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/shogun/solver/LDASolver.h b/src/shogun/solver/LDASolver.h
|
|
index 9300a85c5..d500eca5d 100644
|
|
--- a/src/shogun/solver/LDASolver.h
|
|
+++ b/src/shogun/solver/LDASolver.h
|
|
@@ -87,7 +87,7 @@ namespace shogun
|
|
compute_within_cov();
|
|
}
|
|
|
|
- ~LDASolver()
|
|
+ virtual ~LDASolver()
|
|
{
|
|
SG_UNREF(m_features)
|
|
SG_UNREF(m_labels)
|