Skip to content
Snippets Groups Projects
Commit 7bd718b3 authored by Axel Naumann's avatar Axel Naumann
Browse files

Use evaluate(); process prints the value.

parent 9beec6a2
Branches
Tags
No related merge requests found
......@@ -104,7 +104,7 @@ static std::string ValueToString(const cling::Value& V) {
char* cling_eval(TheInterpreter *interpVP, const char *code) {
cling::Interpreter *interp = (cling::Interpreter *) interpVP;
cling::Value V;
cling::Interpreter::CompilationResult Res = interp->process(code, &V);
cling::Interpreter::CompilationResult Res = interp->evaluate(code, V);
if (Res != cling::Interpreter::kSuccess)
return nullptr;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment