Adding DOCUMENTATION flag to the CMakeLists.txt
[libt2n] / src / client_wrapper.hxx
index ab8aa83..73fda24 100644 (file)
@@ -58,9 +58,10 @@ class ConnectionWrapper
 
     public:
         ConnectionWrapper()
-            : log_level(none), logstream(NULL), 
-              command_timeout_usec(command_client::command_timeout_usec_default),
-              hello_timeout_usec(command_client::hello_timeout_usec_default)
+            : command_timeout_usec(command_client::command_timeout_usec_default),
+              hello_timeout_usec(command_client::hello_timeout_usec_default),
+              log_level(none),
+              logstream(NULL)
             { }
 
         virtual ~ConnectionWrapper()
@@ -245,7 +246,7 @@ class T2nSingletonWrapper : public T2nSingletonWrapperMessages
             if (!WrappedConnection->handle(SingletonObject->Stub.get(),call))
             {
                 // create an result with default-constructor if the handler could not
-                // successfully do a call but no exception occured
+                // successfully do a call but no exception occurred
                 result=typename detail::TypeWrap<R>::type();
             }
             return result;