summaryrefslogtreecommitdiff
path: root/boost/test/utils/runtime/errors.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/test/utils/runtime/errors.hpp')
-rw-r--r--boost/test/utils/runtime/errors.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/test/utils/runtime/errors.hpp b/boost/test/utils/runtime/errors.hpp
index 37f8d9371b..5b263d21c5 100644
--- a/boost/test/utils/runtime/errors.hpp
+++ b/boost/test/utils/runtime/errors.hpp
@@ -86,7 +86,7 @@ public:
{
this->msg.append( val );
- return reinterpret_cast<Derived&&>(*this);
+ return static_cast<Derived&&>(*this);
}
//____________________________________________________________________________//
@@ -96,7 +96,7 @@ public:
{
this->msg.append( unit_test::utils::string_cast( val ) );
- return reinterpret_cast<Derived&&>(*this);
+ return static_cast<Derived&&>(*this);
}
//____________________________________________________________________________//