Parcourir la source

[2956] Re-review comment addressed. Restored "const" function type on
controller bool methods.

Thomas Markwalder il y a 12 ans
Parent
commit
3511d115d6
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/bin/d2/d_controller.h

+ 2 - 2
src/bin/d2/d_controller.h

@@ -344,7 +344,7 @@ protected:
     /// @brief Supplies whether or not the controller is in stand alone mode.
     ///
     /// @return returns true if in stand alone mode, false otherwise
-    bool isStandAlone() {
+    bool isStandAlone() const {
         return (stand_alone_);
     }
 
@@ -358,7 +358,7 @@ protected:
     /// @brief Supplies whether or not verbose logging is enabled.
     ///
     /// @return returns true if verbose logging is enabled.
-    bool isVerbose() {
+    bool isVerbose() const {
         return (verbose_);
     }