summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/package.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-07-04 17:44:26 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-07-05 02:21:50 +0200
commiteb03baac873c59367d8308b3c0a535b136f99633 (patch)
treefdc64e42c0ca789bf0e4b9ee1814163c2a54b968 /crawl-ref/source/package.h
parent277a63f51e7aa66066284cf400325878c04c6c3a (diff)
downloadcrawl-ref-eb03baac873c59367d8308b3c0a535b136f99633.tar.gz
crawl-ref-eb03baac873c59367d8308b3c0a535b136f99633.zip
Make cppcheck a bit happier.
Diffstat (limited to 'crawl-ref/source/package.h')
-rw-r--r--crawl-ref/source/package.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/package.h b/crawl-ref/source/package.h
index 2cc6d8fae2..10b21ad0bc 100644
--- a/crawl-ref/source/package.h
+++ b/crawl-ref/source/package.h
@@ -77,7 +77,7 @@ public:
// statistics
len_t get_slack();
- len_t get_size() { return file_len; };
+ len_t get_size() const { return file_len; };
len_t get_chunk_fragmentation(const std::string name);
len_t get_chunk_compressed_length(const std::string name);
private: