From c65601e351af5f5d4d8f741b2118913a727951ff Mon Sep 17 00:00:00 2001 From: Kjell Ahlstedt Date: Tue, 11 Apr 2017 19:33:44 +0200 Subject: Fix make check when _WRAP_ENUM generates enum class Bug 86864 --- tests/giomm_tls_client/main.cc | 2 +- tests/glibmm_date/main.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/giomm_tls_client/main.cc b/tests/giomm_tls_client/main.cc index beedd4c1..e53c24bb 100644 --- a/tests/giomm_tls_client/main.cc +++ b/tests/giomm_tls_client/main.cc @@ -77,7 +77,7 @@ main(int, char**) << std::endl; auto socket = Gio::Socket::create( - first_inet_address->get_family(), Gio::SOCKET_TYPE_STREAM, Gio::SOCKET_PROTOCOL_TCP); + first_inet_address->get_family(), Gio::SocketType::STREAM, Gio::SocketProtocol::TCP); auto address = Gio::InetSocketAddress::create(first_inet_address, 443); diff --git a/tests/glibmm_date/main.cc b/tests/glibmm_date/main.cc index 1e6411d7..e92559ce 100644 --- a/tests/glibmm_date/main.cc +++ b/tests/glibmm_date/main.cc @@ -17,7 +17,7 @@ main(int, char**) date.subtract_days(1); date.add_years(1); - ostr << "The date a year and a month from yesterday will be: " << date.get_month() << "/" + ostr << "The date a year and a month from yesterday will be: " << date.get_month_as_int() << "/" << (int)date.get_day() << "/" << date.get_year() << "." << std::endl; Glib::Date copy_date(date); @@ -25,7 +25,7 @@ main(int, char**) assigned_date = copy_date; - ostr << "The copied date is: " << copy_date.get_month() << "/" << (int)copy_date.get_day() << "/" + ostr << "The copied date is: " << copy_date.get_month_as_int() << "/" << (int)copy_date.get_day() << "/" << copy_date.get_year() << "." << std::endl; return EXIT_SUCCESS; -- cgit v1.2.1