aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-17 17:57:07 +0800
committerchriseth <c@ethdev.com>2015-11-17 17:57:07 +0800
commitf63eca46fa057f9f994713272008676eef2f2c5d (patch)
tree279a7df9ad796132895f0fd00faaedca253a4501
parentc881d103b26ff80ddfe6bfcea186bdca46a27d30 (diff)
parent9ef67bc75622704890d20338e7623f57af8fee26 (diff)
downloaddexon-solidity-f63eca46fa057f9f994713272008676eef2f2c5d.tar.gz
dexon-solidity-f63eca46fa057f9f994713272008676eef2f2c5d.tar.zst
dexon-solidity-f63eca46fa057f9f994713272008676eef2f2c5d.zip
Merge pull request #213 from chriseth/fix_testLeak
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
)