Further const placement changes.

This commit is contained in:
Christian
2014-10-29 19:41:07 +01:00
parent c5c33485d8
commit 70d7d9b3bc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ private:
Expression* m_expression;
};
bytes compileFirstExpression(const std::string& _sourceCode)
bytes compileFirstExpression(std::string const& _sourceCode)
{
Parser parser;
ASTPointer<ContractDefinition> contract;
+1 -1
View File
@@ -38,7 +38,7 @@ namespace test
namespace
{
void parseTextAndResolveNames(const std::string& _source)
void parseTextAndResolveNames(std::string const& _source)
{
Parser parser;
ASTPointer<ContractDefinition> contract = parser.parse(
+1 -1
View File
@@ -37,7 +37,7 @@ namespace test
namespace
{
ASTPointer<ASTNode> parseText(const std::string& _source)
ASTPointer<ASTNode> parseText(std::string const& _source)
{
Parser parser;
return parser.parse(std::make_shared<Scanner>(CharStream(_source)));