From cb869fd5a447fc70b8c43f14f234316b0898485c Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 15 Oct 2015 18:29:47 +0200 Subject: Style. --- solc/jsonCompiler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'solc/jsonCompiler.cpp') diff --git a/solc/jsonCompiler.cpp b/solc/jsonCompiler.cpp index b117325d..1690fadb 100644 --- a/solc/jsonCompiler.cpp +++ b/solc/jsonCompiler.cpp @@ -218,7 +218,7 @@ string compileSingle(string const& _input, bool _optimize) return compile(sources, _optimize); } -static string outputBuffer; +static string s_outputBuffer; extern "C" { @@ -228,12 +228,12 @@ extern char const* version() } extern char const* compileJSON(char const* _input, bool _optimize) { - outputBuffer = compileSingle(_input, _optimize); - return outputBuffer.c_str(); + s_outputBuffer = compileSingle(_input, _optimize); + return s_outputBuffer.c_str(); } extern char const* compileJSONMulti(char const* _input, bool _optimize) { - outputBuffer = compileMulti(_input, _optimize); - return outputBuffer.c_str(); + s_outputBuffer = compileMulti(_input, _optimize); + return s_outputBuffer.c_str(); } } -- cgit v1.2.3