From 4169e700afbb82d24d2cf3d06299cb8b76c0b8c6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 5 May 2010 23:37:40 +0000 Subject: Made some methods const. --- src/CellBuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CellBuffer.h') diff --git a/src/CellBuffer.h b/src/CellBuffer.h index a94a9dc38..78f586e76 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -149,8 +149,8 @@ public: /// Retrieving positions outside the range of the buffer works and returns 0 char CharAt(int position) const; - void GetCharRange(char *buffer, int position, int lengthRetrieve); - char StyleAt(int position); + void GetCharRange(char *buffer, int position, int lengthRetrieve) const; + char StyleAt(int position) const; const char *BufferPointer(); int Length() const; -- cgit v1.2.3