summaryrefslogtreecommitdiffstats
path: root/app/perfelfmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/perfelfmap.h')
-rw-r--r--app/perfelfmap.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/perfelfmap.h b/app/perfelfmap.h
index 88923d5..9e347b9 100644
--- a/app/perfelfmap.h
+++ b/app/perfelfmap.h
@@ -29,10 +29,9 @@ class PerfElfMap
public:
struct ElfInfo {
ElfInfo(const QFileInfo &file = QFileInfo(), quint64 addr = 0, quint64 length = 0,
- quint64 pgoff = 0, quint64 timeAdded = 0,
- quint64 timeOverwritten = std::numeric_limits<quint64>::max()) :
+ quint64 pgoff = 0, quint64 timeAdded = 0) :
file(file), addr(addr), length(length), pgoff(pgoff), timeAdded(timeAdded),
- timeOverwritten(timeOverwritten), found(file.isFile()) {}
+ found(file.isFile()) {}
bool isValid() const
{
@@ -46,8 +45,7 @@ public:
&& addr == rhs.addr
&& length == rhs.length
&& pgoff == rhs.pgoff
- && timeAdded == rhs.timeAdded
- && timeOverwritten == rhs.timeOverwritten;
+ && timeAdded == rhs.timeAdded;
}
QFileInfo file;
@@ -55,7 +53,6 @@ public:
quint64 length;
quint64 pgoff;
quint64 timeAdded;
- quint64 timeOverwritten;
bool found;
};