summaryrefslogtreecommitdiffstats
path: root/common/index.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-03-30 23:38:45 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-03-31 11:11:08 +0200
commit42f32ea5865c95028c577000e15e8a8631d16e74 (patch)
tree2d9e8a77ccccf088a8807f35f87e4264163d6cdd /common/index.h
parent34851314d39307f22df01a4b711e6fd3c5618e23 (diff)
downloadsink-42f32ea5865c95028c577000e15e8a8631d16e74.tar.gz
sink-42f32ea5865c95028c577000e15e8a8631d16e74.zip
Storage: API cleanup/use QByteArray instead of std::string
Diffstat (limited to 'common/index.h')
-rw-r--r--common/index.h6
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