Update unit-custom-integer.cpp

This commit is contained in:
Eric Wieser 2022-07-13 07:47:57 +01:00 committed by GitHub
parent 2f8a6621c6
commit f77b8e5c41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ class wrapped_int
// allow implicit conversions from anything that `T` allows conversions from
template<typename T2, typename = typename std::enable_if<std::is_convertible<T2, T>::value>::type>
wrapped_int(T2 val) : val(val) {}
wrapped_int(T2 val) : m_val(val) {}
bool operator==(const wrapped_int& other) const
{