Fix nvcc compile error (#2477)
Co-authored-by: Niels Kristian Kjærgård Madsen <nkm@kvantify.dk>
This commit is contained in:
1 parent
5a1ef7e4a6
commit
5f9109a8dc
1 file changed
+1
-1
@@ -59,7 +59,7 @@ namespace Catch {
|
||||
}
|
||||
|
||||
T const& stored_object() const {
|
||||
return *static_cast<T*>(static_cast<void*>(data));
|
||||
return *static_cast<T const*>(static_cast<void const*>(data));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user