aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-16 23:31:16 +0800
committerchriseth <c@ethdev.com>2015-11-16 23:32:09 +0800
commit9ef67bc75622704890d20338e7623f57af8fee26 (patch)
tree279a7df9ad796132895f0fd00faaedca253a4501
parentc881d103b26ff80ddfe6bfcea186bdca46a27d30 (diff)
downloaddexon-solidity-9ef67bc75622704890d20338e7623f57af8fee26.tar
dexon-solidity-9ef67bc75622704890d20338e7623f57af8fee26.tar.gz
dexon-solidity-9ef67bc75622704890d20338e7623f57af8fee26.tar.bz2
dexon-solidity-9ef67bc75622704890d20338e7623f57af8fee26.tar.lz
dexon-solidity-9ef67bc75622704890d20338e7623f57af8fee26.tar.xz
dexon-solidity-9ef67bc75622704890d20338e7623f57af8fee26.tar.zst
dexon-solidity-9ef67bc75622704890d20338e7623f57af8fee26.zip
Fix segfault during test.
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index 915d6542..e87e47a8 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -136,7 +136,7 @@ static ContractDefinition const* retrieveContract(ASTPointer<SourceUnit> _source
return nullptr;
}
-static FunctionTypePointer const& retrieveFunctionBySignature(
+static FunctionTypePointer retrieveFunctionBySignature(
ContractDefinition const* _contract,
std::string const& _signature
)