diff options
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/replace_copy/check_type.cc')
-rw-r--r-- | libstdc++-v3/testsuite/25_algorithms/replace_copy/check_type.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/replace_copy/check_type.cc b/libstdc++-v3/testsuite/25_algorithms/replace_copy/check_type.cc index fbaa5ec4d54..efdc14796cd 100644 --- a/libstdc++-v3/testsuite/25_algorithms/replace_copy/check_type.cc +++ b/libstdc++-v3/testsuite/25_algorithms/replace_copy/check_type.cc @@ -34,11 +34,11 @@ struct Z { Z& operator=(const X&) - { } + { return *this; } Z& operator=(const Y&) - { } + { return *this; } }; bool |