From ba163ce186a91fcd5ed46c77c0e21b37678fabe4 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Sun, 17 Dec 2017 01:12:28 +0100 Subject: [PATCH] [5351] Updated UserContext (comment. [cd]tor) --- src/lib/cc/user_context.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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_); -- 2.47.2