X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fcommand.hxx;h=e3d07ca3ef1784899a3bb648ed25d46429e6c9a2;hp=98f5004a2858be43743cfffac97a2df8da415a0c;hb=238ad35f4e3b6516d4ba7611b540a0edeea71427;hpb=7087e18783f91d2b889e880462d1d1da24831c28 diff --git a/src/command.hxx b/src/command.hxx index 98f5004..e3d07ca 100644 --- a/src/command.hxx +++ b/src/command.hxx @@ -19,8 +19,10 @@ #ifndef __LIBT2N_COMMAND #define __LIBT2N_COMMAND +#include + #include -#include +#include namespace libt2n { @@ -32,7 +34,7 @@ class result private: friend class boost::serialization::access; template - void serialize(Archive & ar, const unsigned int version) + void serialize(Archive & /* ar */, const unsigned int /* version */) { } public: @@ -41,6 +43,7 @@ class result }; } //BOOST_IS_ABSTRACT(libt2n::result) +BOOST_CLASS_TRACKING(libt2n::result, boost::serialization::track_never) namespace libt2n { @@ -51,17 +54,17 @@ class command private: friend class boost::serialization::access; template - void serialize(Archive & ar, const unsigned int version) + void serialize(Archive & /* ar */, const unsigned int /* version */) { } public: /// this calls the wanted target function on the server - virtual result* operator()() = 0; + virtual result* operator()()=0; virtual ~command() {} }; } // namespace libt2n //BOOST_IS_ABSTRACT(libt2n::command) - +BOOST_CLASS_TRACKING(libt2n::command, boost::serialization::track_never) #endif