]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3052] Removed extraneous const function return type.
authorThomas Markwalder <tmark@isc.org>
Fri, 26 Jul 2013 20:12:55 +0000 (16:12 -0400)
committerThomas Markwalder <tmark@isc.org>
Fri, 26 Jul 2013 20:12:55 +0000 (16:12 -0400)
Debian complained about const Enum function declaration in
D2QueueMgr.

src/bin/d2/d2_queue_mgr.h

index ea8b3362b49bf63b031372b38ef0ad54497bf3ad..d47fc775b5e9f8fa0e9af2bb6d9199dec3eda785 100644 (file)
@@ -248,7 +248,7 @@ public:
     void setMaxQueueSize(const size_t max_queue_size);
 
     /// @brief Returns the current state.
-    const State getMgrState() const {
+    State getMgrState() const {
         return (mgr_state_);
     }