]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5351] Updated UserContext (comment. [cd]tor)
authorFrancis Dupont <fdupont@isc.org>
Sun, 17 Dec 2017 00:12:28 +0000 (01:12 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sun, 17 Dec 2017 00:12:28 +0000 (01:12 +0100)
src/lib/cc/user_context.h

index e463a99d2b06cad1c8c592f7e41a3b042b89c997..c1d92e2c061e6051de487c8829278acdcbd5766a 100644 (file)
@@ -17,18 +17,9 @@ namespace dhcp {
 ///
 /// Many configuration structures allow attaching and storing arbitrary
 /// user data that we call user context. Each of those configuration
-/// structures need to derive from this class to handle user context.
-class UserContext {
-
-public:
-    /// @brief constructor
-    UserContext() {
-    }
-
-    /// @brief destructor
-    ~UserContext() {
-    }
-
+/// structures need to derive from this class or include this class
+/// to handle user context.
+struct UserContext {
     /// @brief Returns const pointer to the user context.
     data::ConstElementPtr getContext() const {
         return (user_context_);