Advertisement
Guest User

Untitled

a guest
Jun 24th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. tommy@DESKTOP-NAME HERE ~/documents/github/openage (master)
  2. $ git diff
  3. diff --git a/libopenage/util/enum.h b/libopenage/util/enum.h
  4. index 6d9be287..e4460a72 100644
  5. --- a/libopenage/util/enum.h
  6. +++ b/libopenage/util/enum.h
  7. @@ -43,85 +43,6 @@ namespace util {
  8. * const char *name
  9. * NumericType numeric
  10. */
  11. -template<typename DerivedType, typename NumericType=int>
  12. -class OAAPI EnumValue {
  13. -public:
  14. - // implicit constructor: EnumValue(const char *value_name, int numeric_value)
  15. -
  16. - // enum values cannot be copied
  17. - EnumValue(const EnumValue &other) = delete;
  18. - EnumValue &operator =(const EnumValue &other) = delete;
  19. -
  20. - // an explicit deletion of the implicitly defined copy constructor and assignment operator
  21. - // will implicitly delete the implicitly defined move constructor and assignment operator.
  22. - // yay for C++
  23. :
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement