c++ - Expected constructor, destructor, or type conversion before '::' token -


I get the error when compiling my file.

  // Error PluginDiskStats cpp: 107: Error: Expected constructor, destructor, or '::' token scan before typing: *** [PluginDiskstats.o] Error 1 / destructor ~ PluginDiskstats :: PluginDiskstats () // line 107 {if (stream! = Tap) {fclose (section); Stream = null; } Hash_store (and disascustats); } // header file #ifndef __PLUGIN_DISKSTATS_H__ #define __PLUGIN_DISKSTATS_H__ #include & lt; QObject & gt; Include # "Hush H" class pluginDisk Stats: Public Q Object {q ozjet hash disks; file stream; Int parsecdisstadts (); Public: PluginDiskStats (); ~ PluginDiskstats (); Public slots: Double discastats (Qstring AG 1, Qstring AGR 2, Double AGR3); }; #endif  

Change to line 107:

  PluginDiskstats :: ~ PluginDiskstats ()  

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -