Parcourir la source

[2768] (minor) Style tweaks

Michal 'vorner' Vaner il y a 12 ans
Parent
commit
e8757a6861
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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