[uniquemm] Add constantness on the is_running method.



commit c6ff0c9602558aef343624109c6e3c8d4ec1ddfe
Author: Fabien Parent <parent f gmail com>
Date:   Tue Apr 27 10:48:55 2010 +0200

    Add constantness on the is_running method.

 unique/src/app.hg |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/unique/src/app.hg b/unique/src/app.hg
index 0e771b0..8934798 100644
--- a/unique/src/app.hg
+++ b/unique/src/app.hg
@@ -115,7 +115,7 @@ public:
    *
    * @return <tt>true</tt> if there already is an instance running
    */
-  _WRAP_METHOD(bool is_running(), unique_app_is_running)
+  _WRAP_METHOD(bool is_running() const, unique_app_is_running)
   
   /**
    * Sends @a command to a running instance of @a app. If you need to pass



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]