Browse Source

[2768] (minor) Style tweaks

Michal 'vorner' Vaner 12 years ago
parent
commit
e8757a6861
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/config/ccsession.h

+ 2 - 1
src/lib/config/ccsession.h

@@ -157,12 +157,13 @@ public:
         CCSessionError(file, line, what),
         rcode_(rcode)
     {}
+
     /// \brief The error code for the error.
     int rcode() const {
         return (rcode_);
     }
 private:
-    int rcode_;
+    const int rcode_;
 };
 
 /// \brief Specific version of RPCError for the case the recipient of command