[ekiga] Fix compilation warning in resource-list plugin



commit 85261ccd3024dce87f185a0403f7ebbee3633e9b
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Aug 2 19:20:31 2011 +0200

    Fix compilation warning in resource-list plugin

 plugins/resource-list/rl-presentity.cpp |    4 ++--
 plugins/resource-list/rl-presentity.h   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/resource-list/rl-presentity.cpp b/plugins/resource-list/rl-presentity.cpp
index fe254a2..214ab92 100644
--- a/plugins/resource-list/rl-presentity.cpp
+++ b/plugins/resource-list/rl-presentity.cpp
@@ -191,9 +191,9 @@ RL::Presentity::set_status (const std::string _status)
 
 
 bool
-RL::Presentity::has_uri (const std::string uri) const
+RL::Presentity::has_uri (const std::string _uri) const
 {
-  return uri == get_uri ();
+  return _uri == get_uri ();
 }
 
 bool
diff --git a/plugins/resource-list/rl-presentity.h b/plugins/resource-list/rl-presentity.h
index 0836877..fbd998a 100644
--- a/plugins/resource-list/rl-presentity.h
+++ b/plugins/resource-list/rl-presentity.h
@@ -71,7 +71,7 @@ namespace RL
 
     const std::string get_uri () const;
 
-    bool has_uri (const std::string uri) const;
+    bool has_uri (const std::string _uri) const;
 
     void set_presence (const std::string _presence);
 



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