From: Francis Dupont Date: Sun, 17 Dec 2017 00:12:28 +0000 (+0100) Subject: [5351] Updated UserContext (comment. [cd]tor) X-Git-Tag: trac5480_base~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba163ce186a91fcd5ed46c77c0e21b37678fabe4;p=thirdparty%2Fkea.git [5351] Updated UserContext (comment. [cd]tor) --- diff --git a/src/lib/cc/user_context.h b/src/lib/cc/user_context.h index e463a99d2b..c1d92e2c06 100644 --- a/src/lib/cc/user_context.h +++ b/src/lib/cc/user_context.h @@ -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_);