summaryrefslogtreecommitdiffstats
path: root/utils/regtools/headergen_v2.cpp
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2016-09-09 13:09:46 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2016-09-21 00:31:12 +0100
commit7b1bcae879305da138bb3e08d04735b54266c537 (patch)
tree1ca365c8b49b0696a61729bccf43fb1b1c58df3b /utils/regtools/headergen_v2.cpp
parent84ff8a4df9eac157ea9df22054b996fef5b34d8f (diff)
downloadrockbox-7b1bcae879305da138bb3e08d04735b54266c537.tar.gz
rockbox-7b1bcae879305da138bb3e08d04735b54266c537.zip
regtools: rename error_t to err_t to avoid name clash
Change-Id: Ib8d34e4f58f3225b1dafc533ce7e1b7867ad053b
Diffstat (limited to 'utils/regtools/headergen_v2.cpp')
-rw-r--r--utils/regtools/headergen_v2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/regtools/headergen_v2.cpp b/utils/regtools/headergen_v2.cpp
index bc056aaeb5..22a99b7df4 100644
--- a/utils/regtools/headergen_v2.cpp
+++ b/utils/regtools/headergen_v2.cpp
@@ -87,12 +87,12 @@ void print_context(const error_context_t& ctx)
{
for(size_t j = 0; j < ctx.count(); j++)
{
- error_t e = ctx.get(j);
+ err_t e = ctx.get(j);
switch(e.level())
{
- case error_t::INFO: printf("[INFO]"); break;
- case error_t::WARNING: printf("[WARN]"); break;
- case error_t::FATAL: printf("[FATAL]"); break;
+ case err_t::INFO: printf("[INFO]"); break;
+ case err_t::WARNING: printf("[WARN]"); break;
+ case err_t::FATAL: printf("[FATAL]"); break;
default: printf("[UNK]"); break;
}
if(e.location().size() != 0)