From d6c7162b17ca5ed216e1fddfc27ca0717fd2ea3a Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Mon, 7 Nov 2016 22:05:49 -0500 Subject: [PATCH] fix gcc error caused by methods with the same names as classes --- include/xlnt/cell/cell.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xlnt/cell/cell.hpp b/include/xlnt/cell/cell.hpp index 90487c87..9ebb4abd 100644 --- a/include/xlnt/cell/cell.hpp +++ b/include/xlnt/cell/cell.hpp @@ -217,7 +217,7 @@ public: /// Return a reference to the format applied to this cell. /// If this cell has no format, an invalid_attribute exception will be thrown. /// - const format format() const; + const class format format() const; /// /// Applies the cell-level formatting of new_format to this cell. @@ -307,7 +307,7 @@ public: /// /// Returns a wrapper pointing to the named style applied to this cell. /// - const style style() const; + const class style style() const; /// /// Equivalent to style(new_style.name())