Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tommy@DESKTOP-NAME HERE ~/documents/github/openage (master)
- $ git diff
- diff --git a/libopenage/util/enum.h b/libopenage/util/enum.h
- index 6d9be287..e4460a72 100644
- --- a/libopenage/util/enum.h
- +++ b/libopenage/util/enum.h
- @@ -43,85 +43,6 @@ namespace util {
- * const char *name
- * NumericType numeric
- */
- -template<typename DerivedType, typename NumericType=int>
- -class OAAPI EnumValue {
- -public:
- - // implicit constructor: EnumValue(const char *value_name, int numeric_value)
- -
- - // enum values cannot be copied
- - EnumValue(const EnumValue &other) = delete;
- - EnumValue &operator =(const EnumValue &other) = delete;
- -
- - // an explicit deletion of the implicitly defined copy constructor and assignment operator
- - // will implicitly delete the implicitly defined move constructor and assignment operator.
- - // yay for C++
- :
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement