[nemiver/console] Add default constructor



commit 3801df38816f33b51d28d9142a913c87f9b50a34
Author: Fabien Parent <parent f gmail com>
Date:   Wed Mar 7 12:10:30 2012 +0100

    Add default constructor

 src/common/nmv-console.cc |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/common/nmv-console.cc b/src/common/nmv-console.cc
index 115689d..58c7dca 100644
--- a/src/common/nmv-console.cc
+++ b/src/common/nmv-console.cc
@@ -45,6 +45,11 @@ const unsigned int COMMAND_EXECUTION_TIMEOUT_IN_SECONDS = 10;
 struct Console::Stream::Priv {
     int fd;
 
+    Priv () :
+        fd (0)
+    {
+    }
+
     Priv (int a_fd) :
         fd (a_fd)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]