Define PluginScript::NotConnected constant
authorMichael Andres <ma@suse.de>
Tue, 5 Oct 2010 08:52:52 +0000 (10:52 +0200)
committerMichael Andres <ma@suse.de>
Tue, 5 Oct 2010 08:52:52 +0000 (10:52 +0200)
zypp/PluginScript.cc
zypp/PluginScript.h

index 5c9402e..bbbc4f7 100644 (file)
@@ -163,6 +163,8 @@ namespace zypp
   //
   ///////////////////////////////////////////////////////////////////
 
+  const pid_t PluginScript::NotConnected( -1 );
+
   PluginScript::PluginScript()
     : _pimpl( new Impl )
   {}
index 16c654a..8077f4b 100644 (file)
@@ -68,7 +68,7 @@ namespace zypp
       typedef std::vector<std::string> Arguments;
 
       /** \c pid_t(-1) constant indicating no connection */
-      static const pid_t NotConnected = -1;
+      static const pid_t NotConnected;
 
     public:
       /** Default ctor */