diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2017-04-11 19:33:44 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2017-04-11 19:33:44 +0200 |
commit | c65601e351af5f5d4d8f741b2118913a727951ff (patch) | |
tree | ab83a40551d4f015cf5a7ae8b4d8bdf8ba138c82 /tests | |
parent | e8ded6b902ba766dc7bd697f8d379cb4158f7dfd (diff) | |
download | glibmm-c65601e351af5f5d4d8f741b2118913a727951ff.tar.gz |
Fix make check when _WRAP_ENUM generates enum class
Bug 86864
Diffstat (limited to 'tests')
-rw-r--r-- | tests/giomm_tls_client/main.cc | 2 | ||||
-rw-r--r-- | tests/glibmm_date/main.cc | 4 |
2 files changed, 3 insertions, 3 deletions
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; |