diff options
author | chriseth <c@ethdev.com> | 2015-10-16 00:29:47 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-10-16 00:29:56 +0800 |
commit | cb869fd5a447fc70b8c43f14f234316b0898485c (patch) | |
tree | 1da6d9ac0c3eec8b04017cd776b6646c1129afa2 /solc/jsonCompiler.cpp | |
parent | 52ef07695ab665f22a6ae1a85d88197a35bcf086 (diff) | |
download | dexon-solidity-cb869fd5a447fc70b8c43f14f234316b0898485c.tar.gz dexon-solidity-cb869fd5a447fc70b8c43f14f234316b0898485c.tar.zst dexon-solidity-cb869fd5a447fc70b8c43f14f234316b0898485c.zip |
Style.
Diffstat (limited to 'solc/jsonCompiler.cpp')
-rw-r--r-- | solc/jsonCompiler.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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(); } } |