summaryrefslogtreecommitdiff
path: root/src/mem/gems_common/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/gems_common/util.cc')
-rw-r--r--src/mem/gems_common/util.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/gems_common/util.cc b/src/mem/gems_common/util.cc
index 403be383f..d2ca8cb96 100644
--- a/src/mem/gems_common/util.cc
+++ b/src/mem/gems_common/util.cc
@@ -30,7 +30,8 @@
* $Id$
*/
-#include "assert.hh"
+#include <cassert>
+
#include "mem/gems_common/util.hh"
// Split a string into a head and tail strings on the specified
@@ -101,6 +102,8 @@ bool string_to_bool(const string & str)
return false;
else
assert(0);
+
+ return false;
}
// Log functions