diff options
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.h b/src/entry.h index cfb5566..d4c835e 100644 --- a/src/entry.h +++ b/src/entry.h @@ -230,7 +230,7 @@ class Entry */ void reset(); - void markAsProcessed() const { ((Entry*)(this))->section = Entry::EMPTY_SEC; } + void markAsProcessed() const { (const_cast<Entry*>(this))->section = Entry::EMPTY_SEC; } void setFileDef(FileDef *fd); FileDef *fileDef() const { return m_fileDef; } |