summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2011-04-01 10:04:10 +0200
committerMurray Cumming <murrayc@murrayc.com>2011-04-01 10:04:10 +0200
commit23d631cac63995ff83cb8e063988af981f1b5f70 (patch)
treea6150af0735438b5bd9a9dc437b7198780647d06
parent1e5d6d02fe817631a12c301832792b65133aaf66 (diff)
downloadglibmm-23d631cac63995ff83cb8e063988af981f1b5f70.tar.gz
Code style change.
-rw-r--r--examples/dbus/peer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbus/peer.cc b/examples/dbus/peer.cc
index 99cdb66b..55b8128a 100644
--- a/examples/dbus/peer.cc
+++ b/examples/dbus/peer.cc
@@ -189,7 +189,7 @@ bool on_new_connection(const Glib::RefPtr<Gio::DBus::Connection>& connection)
return true;
}
-void run_as_server(Glib::ustring address, bool allow_anonymous)
+void run_as_server(const Glib::ustring& address, bool allow_anonymous)
{
Glib::ustring guid = Gio::DBus::generate_guid();
Gio::DBus::ServerFlags flags = Gio::DBus::SERVER_FLAGS_NONE;
@@ -221,7 +221,7 @@ void run_as_server(Glib::ustring address, bool allow_anonymous)
loop->run();
}
-void run_as_client(Glib::ustring address)
+void run_as_client(const Glib::ustring& address)
{
Glib::RefPtr<Gio::DBus::Connection> connection;