aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/error.hh
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-03-31 09:36:20 -0600
committerBen Burdette <bburdette@gmail.com>2020-03-31 09:36:20 -0600
commit09652f597cb44fbb452353f9eeaba2d9bc70a7f3 (patch)
tree2df2bd8c7ded99be33cd320d1d46c6292c21967b /src/libutil/error.hh
parent28d073e810d5e692a4f6c57d23afc011e6fcc153 (diff)
enum style
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: