From aab5d8c6686ff06a884d67eb11171db74910e1be Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Mon, 27 Apr 2015 10:29:04 -0400 Subject: [PATCH] Explicitly deleted default constructor. --- Enum.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Enum.h b/Enum.h index d64f493..1916e94 100644 --- a/Enum.h +++ b/Enum.h @@ -57,6 +57,7 @@ static bool caseValid(const char *name) \ { return _Super::caseValid(name); } \ \ + EnumType() = delete; \ EnumType(_Value value) : _value(value) { } \ template \ explicit EnumType(IntegralType value, \