commit | 9e81e37a0400874aa3a327123c0e4d6e8bfc5290 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Tue Jan 17 16:38:40 2012 -0800 |
committer | Shih-wei Liao <sliao@google.com> | Tue Jan 17 16:42:46 2012 -0800 |
tree | e0217567632be9a8462dcedcb18afc5e102dd750 | |
parent | 4deffde52a049eb1b5f2e5504653e5b810c554bf [diff] [blame] |
Add "const". And clean up. Change-Id: I70e6994a0cd1d897e6981d5642108fee1324708f
diff --git a/lib/ExecutionEngine/Script.cpp b/lib/ExecutionEngine/Script.cpp index 085e7c8..2030db9 100644 --- a/lib/ExecutionEngine/Script.cpp +++ b/lib/ExecutionEngine/Script.cpp
@@ -325,7 +325,7 @@ } #endif -int Script::internalCompile(CompilerOption &option) { +int Script::internalCompile(const CompilerOption &option) { // Create the ScriptCompiled object mCompiled = new (std::nothrow) ScriptCompiled(this);