Browse Source

[trac977] Protected constructor

Michal 'vorner' Vaner 14 years ago
parent
commit
c13544e653
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/lib/acl/check.h

+ 5 - 0
src/lib/acl/check.h

@@ -44,6 +44,11 @@ namespace acl {
  * (eg. the packet, information where it came from, to what port, ...).
  */
 template<typename Context> class Check {
+protected:
+    /// \brief Constructor.
+    ///
+    /// Just to make sure this thing is not directly instantiated.
+    Check() { }
 public:
     /**
      * \brief The check itself.