summaryrefslogtreecommitdiff
path: root/trace_parser.hpp
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-09-11 21:09:08 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-09-11 21:09:08 +0100
commit42b10e40c2e96a65af0e4953ef351e240d3e8002 (patch)
tree990010d56a955cf8134c6c8afcbb7133f7992840 /trace_parser.hpp
parent61e61f716a77595277dad9ffca2b5cfb541ab1ab (diff)
Drop m_supportsSeeking.
Was only used in an assert, which typically already exists inside the File implementation.
Diffstat (limited to 'trace_parser.hpp')
-rw-r--r--trace_parser.hpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/trace_parser.hpp b/trace_parser.hpp
index d76ffb4..9677184 100644
--- a/trace_parser.hpp
+++ b/trace_parser.hpp
@@ -78,8 +78,6 @@ protected:
EnumMap enums;
BitmaskMap bitmasks;
- bool m_supportsSeeking;
-
unsigned next_call_no;
public:
@@ -100,15 +98,9 @@ public:
return file->supportsOffsets();
}
- void getBookmark(ParseBookmark &bookmark) {
- bookmark.offset = file->currentOffset();
- bookmark.next_call_no = next_call_no;
- }
+ void getBookmark(ParseBookmark &bookmark);
- void setBookmark(const ParseBookmark &bookmark) {
- file->setCurrentOffset(bookmark.offset);
- next_call_no = bookmark.next_call_no;
- }
+ void setBookmark(const ParseBookmark &bookmark);
int percentRead()
{