upnpn_intel: Compilation fix.
authorRémi Duraffort <ivoire@videolan.org>
Mon, 25 Aug 2008 18:04:56 +0000 (20:04 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 25 Aug 2008 18:04:56 +0000 (20:04 +0200)
modules/services_discovery/upnp_intel.cpp

index b05eef5..34b0636 100644 (file)
@@ -88,6 +88,7 @@ class MediaServer;
 class MediaServerList;
 class Item;
 class Container;
+class Lockable;
 
 // Cookie that is passed to the callback
 
@@ -105,10 +106,14 @@ typedef struct
 class Lockable
 {
 public:
+    Lockable()
+    {
+        vlc_mutex_init( &_mutex );
+    }
 
     Lockable( Cookie* c )
     {
-    vlc_mutex_init( &_mutex );
+        Lockable();
     }
 
     ~Lockable()