aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/error.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/error.hh')
-rw-r--r--src/libutil/error.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/error.hh b/src/libutil/error.hh
index 88980afb7..1acc70d9d 100644
--- a/src/libutil/error.hh
+++ b/src/libutil/error.hh
@@ -16,10 +16,10 @@ using std::endl;
namespace nix {
-enum ErrLevel
+typedef enum
{ elWarning
, elError
- };
+ } ErrLevel;
class ColumnRange {
public: