mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[Any] Fix a typo: didn't use the correct argument
llvm-svn: 337583
This commit is contained in:
parent
f595ea47c3
commit
b9adc67df4
@ -110,7 +110,7 @@ template <typename T> bool any_isa(const Any &Value) {
|
||||
template <class T> T any_cast(const Any &Value) {
|
||||
using U =
|
||||
typename std::remove_cv<typename std::remove_reference<T>::type>::type;
|
||||
return static_cast<T>(*any_cast<U>(&operand));
|
||||
return static_cast<T>(*any_cast<U>(&Value));
|
||||
}
|
||||
|
||||
template <class T> T any_cast(Any &Value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user