diff options
Diffstat (limited to 'common/index.h')
-rw-r--r-- | common/index.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/index.h b/common/index.h index aea654a..3cd7cc8 100644 --- a/common/index.h +++ b/common/index.h | |||
@@ -14,10 +14,10 @@ public: | |||
14 | class Error | 14 | class Error |
15 | { | 15 | { |
16 | public: | 16 | public: |
17 | Error(const std::string &s, int c, const std::string &m) | 17 | Error(const QByteArray &s, int c, const QByteArray &m) |
18 | : store(s), message(m), code(c) {} | 18 | : store(s), message(m), code(c) {} |
19 | std::string store; | 19 | QByteArray store; |
20 | std::string message; | 20 | QByteArray message; |
21 | int code; | 21 | int code; |
22 | }; | 22 | }; |
23 | 23 | ||