citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 66f9041b07dd478c0833ad6bf0ce34ac617149ae
parent 95d06b205bf783d30500e7b15b3c7f534abc1f23
Author: Kyle Milz <kyle@0x30.net>
Date:   Mon, 22 Aug 2016 22:23:13 -0600

src: make function const

Diffstat:
Msrc/process_file.cc | 2+-
Msrc/process_file.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/process_file.cc b/src/process_file.cc @@ -61,7 +61,7 @@ ProcessFile::ProcessFile(std::string const &path) : } bool -ProcessFile::is_alive() +ProcessFile::is_alive() const { if (kill(m_pid, 0) == 0) return 1; diff --git a/src/process_file.h b/src/process_file.h @@ -22,7 +22,7 @@ public: const TranslationUnit *find_tu(std::string const &) const; uint64_t total_execs(); - bool is_alive(); + bool is_alive() const; void read_executions(); uint8_t m_major;