We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a16ce commit f0d59a4Copy full SHA for f0d59a4
lib/Interpreter/CppInterOp.cpp
@@ -2718,7 +2718,7 @@ namespace Cpp {
2718
TInterp_t GetInterpreter() { return sInterpreter; }
2719
2720
void UseExternalInterpreter(TInterp_t I) {
2721
- assert(sInterpreter && "sInterpreter already in use!");
+ assert(!sInterpreter && "sInterpreter already in use!");
2722
sInterpreter = static_cast<compat::Interpreter*>(I);
2723
OwningSInterpreter = false;
2724
}
0 commit comments