summaryrefslogtreecommitdiffstats
path: root/file_index.h
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:38:05 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2015-11-07 15:38:05 +0000
commitcdc1c436cd3ce5899d4c91d7a155f3f82453117c (patch)
tree3e2e5ead8625bc587deac24390fe67adec9789c1 /file_index.h
parentAdding upstream version 1.2~rc1. (diff)
downloadplzip-cdc1c436cd3ce5899d4c91d7a155f3f82453117c.tar.xz
plzip-cdc1c436cd3ce5899d4c91d7a155f3f82453117c.zip
Adding upstream version 1.2~rc2.upstream/1.2_rc2
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'file_index.h')
-rw-r--r--file_index.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/file_index.h b/file_index.h
index d1c8592..fc82935 100644
--- a/file_index.h
+++ b/file_index.h
@@ -3,7 +3,7 @@
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
+ the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
@@ -33,10 +33,6 @@ public:
void pos( const long long p ) { pos_ = p; }
void size( const long long s ) { size_ = s; }
-
- bool overlaps( const Block & b ) const
- { return ( pos_ < b.end() && b.pos_ < end() ); }
- void shift( Block & b ) { ++size_; ++b.pos_; --b.size_; }
};