From 93d40aa83bc03e78eb39e8477b6b4d791708ec60 Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Wed, 4 Jun 2008 11:20:09 +0000 Subject: Minor cleanup: declaring PollingManager::sendChanges() as const. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2579 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/x0vncserver/PollingManager.cxx | 2 +- unix/x0vncserver/PollingManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'unix/x0vncserver') diff --git a/unix/x0vncserver/PollingManager.cxx b/unix/x0vncserver/PollingManager.cxx index 81624a9c..a1534d93 100644 --- a/unix/x0vncserver/PollingManager.cxx +++ b/unix/x0vncserver/PollingManager.cxx @@ -255,7 +255,7 @@ int PollingManager::checkColumn(int x, int y, int h, bool *pChangeFlags) return nTilesChanged; } -int PollingManager::sendChanges(VNCServer *server) +int PollingManager::sendChanges(VNCServer *server) const { const bool *pChangeFlags = m_changeFlags; int nTilesChanged = 0; diff --git a/unix/x0vncserver/PollingManager.h b/unix/x0vncserver/PollingManager.h index 2ed9ff5e..e106f790 100644 --- a/unix/x0vncserver/PollingManager.h +++ b/unix/x0vncserver/PollingManager.h @@ -85,7 +85,7 @@ private: int checkRow(int x, int y, int w); int checkColumn(int x, int y, int h, bool *pChangeFlags); - int sendChanges(VNCServer *server); + int sendChanges(VNCServer *server) const; // Check neighboring tiles and update m_changeFlags[]. void checkNeighbors(); -- cgit v1.2.3