Add constructor to stap_static_probe_ops
[deliverable/binutils-gdb.git] / gdb / stap-probe.c
index 806725c75e68383e731c2abf87f0c7ef747ca83e..39da2900e7af30d0c24702019c8b835038b0b646 100644 (file)
@@ -101,6 +101,12 @@ struct stap_probe_arg
 class stap_static_probe_ops : public static_probe_ops
 {
 public:
+  /* We need a user-provided constructor to placate some compilers.
+     See PR build/24937.  */
+  stap_static_probe_ops ()
+  {
+  }
+
   /* See probe.h.  */
   bool is_linespec (const char **linespecp) const override;
 
This page took 0.037041 seconds and 4 git commands to generate.