mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Fix nvcc compile error (#2477)
Co-authored-by: Niels Kristian Kjærgård Madsen <nkm@kvantify.dk>
This commit is contained in:
parent
5a1ef7e4a6
commit
5f9109a8dc
@ -59,7 +59,7 @@ namespace Catch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
T const& stored_object() const {
|
T const& stored_object() const {
|
||||||
return *static_cast<T*>(static_cast<void*>(data));
|
return *static_cast<T const*>(static_cast<void const*>(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user