diff options
author | John Hodge <tpg@ucc.asn.au> | 2016-06-04 15:08:50 +0800 |
---|---|---|
committer | John Hodge <tpg@ucc.asn.au> | 2016-06-04 15:08:50 +0800 |
commit | f36518ed2fb6444884f991bcd6c8e0c3acd47beb (patch) | |
tree | 9ac3092f488192aba16e2ce1f4f160b98cd16ec0 /src/hir_conv/constant_evaluation.cpp | |
parent | f92a45d8054cc18a037449ec136bf874ce20fc5a (diff) | |
download | mrust-f36518ed2fb6444884f991bcd6c8e0c3acd47beb.tar.gz |
Compilation fixes (clang and different gcc version)
Diffstat (limited to 'src/hir_conv/constant_evaluation.cpp')
-rw-r--r-- | src/hir_conv/constant_evaluation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir_conv/constant_evaluation.cpp b/src/hir_conv/constant_evaluation.cpp index 9ccd2033..c9f25f60 100644 --- a/src/hir_conv/constant_evaluation.cpp +++ b/src/hir_conv/constant_evaluation.cpp @@ -572,7 +572,7 @@ namespace { } }; - if( &*expr != nullptr ) + if( expr.get() != nullptr ) { Visitor v { this->m_crate }; (*expr).visit(v); |