Commit 2b31a608 authored by Murray Cumming's avatar Murray Cumming

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

parent 442675b9
......@@ -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.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment