From ed98a0000dc9bc34d2ace66fd46d1d013f9da4aa Mon Sep 17 00:00:00 2001 From: Vincent van Ravesteijn Date: Sun, 25 Oct 2009 14:00:29 +0000 Subject: [PATCH] Remove const modifier from the correct function. see r31737. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31738 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 0152f4acb2..11c9231bb6 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -524,7 +524,7 @@ string Buffer::logName(LogType * type) const } -void Buffer::setReadonly(bool const flag) const +void Buffer::setReadonly(bool const flag) { if (d->read_only != flag) { d->read_only = flag; @@ -2261,7 +2261,7 @@ string Buffer::filePath() const } -bool Buffer::isReadonly() +bool Buffer::isReadonly() const { return d->read_only; } -- 2.39.2