aboutsummaryrefslogtreecommitdiff
path: root/gold/gold-threads.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/gold-threads.h')
-rw-r--r--gold/gold-threads.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/gold-threads.h b/gold/gold-threads.h
index 78a87b2..622bf32 100644
--- a/gold/gold-threads.h
+++ b/gold/gold-threads.h
@@ -200,6 +200,10 @@ class Once
public:
Once();
+ virtual
+ ~Once()
+ { }
+
// Call this function to do whatever it is. We pass an argument
// even though you have to use a child class because in some uses
// setting the argument would itself require a Once class.