From 2ced96026dd5aa217c0cc7f066fbe7d2659e4532 Mon Sep 17 00:00:00 2001 From: Serge Lamikhov-Center Date: Thu, 21 Mar 2013 02:13:50 +0200 Subject: [PATCH] Remove 'mutable' specification in 'section' class --- elfio/elfio.hpp | 1 - elfio/elfio_section.hpp | 2 +- elfio/elfio_utils.hpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/elfio/elfio.hpp b/elfio/elfio.hpp index 4fb1b59..69bc5e3 100644 --- a/elfio/elfio.hpp +++ b/elfio/elfio.hpp @@ -32,7 +32,6 @@ THE SOFTWARE. #include #include -#include #include #include #include diff --git a/elfio/elfio_section.hpp b/elfio/elfio_section.hpp index f06b5bb..b046f99 100644 --- a/elfio/elfio_section.hpp +++ b/elfio/elfio_section.hpp @@ -261,7 +261,7 @@ class section_impl : public section //------------------------------------------------------------------------------ private: - mutable T header; + T header; Elf_Half index; std::string name; char* data; diff --git a/elfio/elfio_utils.hpp b/elfio/elfio_utils.hpp index 2ec18e7..6246eb8 100644 --- a/elfio/elfio_utils.hpp +++ b/elfio/elfio_utils.hpp @@ -52,7 +52,7 @@ THE SOFTWARE. virtual void set_##NAME( TYPE value ) = 0 #define ELFIO_GET_SET_ACCESS_DECL( TYPE, NAME ) \ - virtual TYPE get_##NAME() const = 0; \ + virtual TYPE get_##NAME() const = 0; \ virtual void set_##NAME( TYPE value ) = 0 namespace ELFIO {