diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-20 20:42:52 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-23 17:37:53 +0200 |
commit | 166aa563ad41c4566c02cff583df612e328d1520 (patch) | |
tree | 2acf8397e03d464dae2d451ce3b7a36d2c439691 /common/index.h | |
parent | 3c3c117b96f0063221889d3e896cdbadd1b36a99 (diff) | |
download | sink-166aa563ad41c4566c02cff583df612e328d1520.tar.gz sink-166aa563ad41c4566c02cff583df612e328d1520.zip |
Deal with non-existing index
Diffstat (limited to 'common/index.h')
-rw-r--r-- | common/index.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/index.h b/common/index.h index 3cd7cc8..08b499f 100644 --- a/common/index.h +++ b/common/index.h | |||
@@ -11,6 +11,10 @@ | |||
11 | class Index | 11 | class Index |
12 | { | 12 | { |
13 | public: | 13 | public: |
14 | enum ErrorCodes { | ||
15 | IndexNotAvailable = -1 | ||
16 | }; | ||
17 | |||
14 | class Error | 18 | class Error |
15 | { | 19 | { |
16 | public: | 20 | public: |