summaryrefslogtreecommitdiff
path: root/src/sim/drain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/drain.cc')
-rw-r--r--src/sim/drain.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sim/drain.cc b/src/sim/drain.cc
index 3daf762f6..90fb0c18d 100644
--- a/src/sim/drain.cc
+++ b/src/sim/drain.cc
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012 ARM Limited
+ * Copyright (c) 2012, 2015 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -58,7 +58,7 @@ DrainManager::drainCycleDone()
Drainable::Drainable()
- : _drainState(Running)
+ : _drainState(DrainState::Running)
{
}
@@ -69,5 +69,5 @@ Drainable::~Drainable()
void
Drainable::drainResume()
{
- _drainState = Running;
+ _drainState = DrainState::Running;
}