Add constness.
This commit is contained in:
parent
04b8928a3f
commit
46d3344ca0
@ -631,7 +631,7 @@ namespace cling {
|
||||
|
||||
void forwardDeclare(Transaction& T, llvm::raw_ostream& out,
|
||||
bool enableMacros = false,
|
||||
llvm::raw_ostream* logs = 0);
|
||||
llvm::raw_ostream* logs = 0) const;
|
||||
|
||||
friend class runtime::internal::LifetimeHandler;
|
||||
// FIXME: workaround until JIT supports exceptions
|
||||
|
@ -1244,7 +1244,7 @@ namespace cling {
|
||||
|
||||
void Interpreter::forwardDeclare(Transaction& T, llvm::raw_ostream& out,
|
||||
bool enableMacros /*=false*/,
|
||||
llvm::raw_ostream* logs /*=0*/) {
|
||||
llvm::raw_ostream* logs /*=0*/) const {
|
||||
// Maybe logs should be defaulted to llvm::raw_null_ostream sink;
|
||||
if (!logs)
|
||||
logs = &llvm::errs();
|
||||
|
Loading…
x
Reference in New Issue
Block a user