[glibmm/c++11v3: 2/4] C++11: examples: No need for > > now.



commit 2ef1fbdce53b7d8d9b3d0ffd0a1edcaa7da7cfaa
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Jun 27 09:55:52 2013 +0200

    C++11: examples: No need for > > now.

 examples/dbus/client_bus_listnames.cc |    2 +-
 examples/network/resolver.cc          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/dbus/client_bus_listnames.cc b/examples/dbus/client_bus_listnames.cc
index 0a49d73..3c51e12 100644
--- a/examples/dbus/client_bus_listnames.cc
+++ b/examples/dbus/client_bus_listnames.cc
@@ -52,7 +52,7 @@ void on_dbus_proxy_available(Glib::RefPtr<Gio::AsyncResult>& result)
 
     // Now extract the single item in the variant container which is the
     // array of strings (the names).
-    Glib::Variant< std::vector<Glib::ustring> > names_variant;
+    Glib::Variant< std::vector<Glib::ustring>> names_variant;
     result.get_child(names_variant);
 
     // Get the vector of strings.
diff --git a/examples/network/resolver.cc b/examples/network/resolver.cc
index ca630d9..4fdf0cf 100644
--- a/examples/network/resolver.cc
+++ b/examples/network/resolver.cc
@@ -91,7 +91,7 @@ print_resolved_name (const Glib::ustring& phys,
 
 static void
 print_resolved_addresses (const Glib::ustring& name,
-                          const std::list<Glib::RefPtr<Gio::InetAddress> >& addresses)
+                          const std::list<Glib::RefPtr<Gio::InetAddress>>& addresses)
 {
     G_LOCK (response);
     std::cout << Glib::ustring::compose ("Name:    %1\n", name);


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