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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -