Silence two more maintainer-mode warnings in SVN++.
* subversion/bindings/cxx/tests/test_revision.cpp
(roundtrip_conversions): Use initializer list for constructing svn::revision
in a context where otherwise C++ was trying to infer something strange
that I don't really understand (yet).
@@ -82,8 +82,8 @@ BOOST_AUTO_TEST_CASE(roundtrip_conversions)
BOOST_AUTO_TEST_CASE(preconditions)
{
using kind = svn::revision::kind;
- BOOST_CHECK_THROW(auto r = svn::revision(kind::number), std::invalid_argument);
- BOOST_CHECK_THROW(auto r = svn::revision(kind::date), std::invalid_argument);
+ BOOST_CHECK_THROW(svn::revision{kind::number}, std::invalid_argument);
+ BOOST_CHECK_THROW(svn::revision{kind::date}, std::invalid_argument);
}
BOOST_AUTO_TEST_CASE(postconditions_kind)
