Skip to content

Commit e081268

Browse files
athanatosronen-fr
authored andcommitted
common/MemoryModel: make MemoryModel::snap accessors const
Signed-off-by: Samuel Just <[email protected]> (cherry picked from commit 720ce78)
1 parent 8867303 commit e081268

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common/MemoryModel.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ class MemoryModel {
3333
heap(0)
3434
{}
3535

36-
long get_total() { return size; }
37-
long get_rss() { return rss; }
38-
long get_heap() { return heap; }
36+
long get_total() const { return size; }
37+
long get_rss() const { return rss; }
38+
long get_heap() const { return heap; }
3939
} last;
4040

4141
private:

0 commit comments

Comments
 (0)