Fix a compilation error C2872: 'Value' : ambiguous symbol on Windows

This commit is contained in:
Bertrand Bellenot 2013-12-11 14:23:57 +01:00 committed by sftnight
parent dff5dd2cc4
commit e443f83a0b
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ namespace cling {
static StoredValueRef allocate(Interpreter& interp,
clang::QualType t, const llvm::Type* llvmTy);
/// \brief Create a bitwise copy of value wrapped in a StoredValueRef.
static StoredValueRef bitwiseCopy(Interpreter& interp, const Value& value);
static StoredValueRef bitwiseCopy(Interpreter& interp, const cling::Value& value);
/// \brief Create a bitwise copy of svalue.
static StoredValueRef bitwiseCopy(Interpreter& interp,
const StoredValueRef svalue) {

View File

@ -124,7 +124,7 @@ StoredValueRef StoredValueRef::allocate(Interpreter& interp, QualType t,
}
StoredValueRef StoredValueRef::bitwiseCopy(Interpreter& interp,
const Value& value) {
const cling::Value& value) {
StoredValue* SValue
= new StoredValue(interp, value.getClangType(), value.getLLVMType());
if (SValue->m_Mem) {