summaryrefslogtreecommitdiff
path: root/AK/Error.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/Error.h')
-rw-r--r--AK/Error.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/AK/Error.h b/AK/Error.h
index b2221013b8..b963532a52 100644
--- a/AK/Error.h
+++ b/AK/Error.h
@@ -68,14 +68,14 @@ private:
}
Error(StringView syscall_name, int rc)
- : m_code(-rc)
- , m_string_literal(syscall_name)
+ : m_string_literal(syscall_name)
+ , m_code(-rc)
, m_syscall(true)
{
}
- int m_code { 0 };
StringView m_string_literal;
+ int m_code { 0 };
bool m_syscall { false };
};