remove debug info

This commit is contained in:
Roy Qu 2022-10-21 09:58:19 +08:00
parent 382ffffdc8
commit 93ce54d688
2 changed files with 0 additions and 9 deletions

View File

@ -21,19 +21,11 @@
#include <QTextCodec> #include <QTextCodec>
#include "qt_utils/charsetinfo.h" #include "qt_utils/charsetinfo.h"
static int counter=0;
StdinCompiler::StdinCompiler(const QString &filename,const QByteArray& encoding, const QString& content,bool silent, bool onlyCheckSyntax): StdinCompiler::StdinCompiler(const QString &filename,const QByteArray& encoding, const QString& content,bool silent, bool onlyCheckSyntax):
Compiler(filename,silent, onlyCheckSyntax), Compiler(filename,silent, onlyCheckSyntax),
mContent(content), mContent(content),
mEncoding(encoding) mEncoding(encoding)
{ {
counter++;
}
StdinCompiler::~StdinCompiler()
{
counter--;
qDebug()<<"stdin compiler exited: "<<counter;
} }
bool StdinCompiler::prepareForCompile() bool StdinCompiler::prepareForCompile()

View File

@ -25,7 +25,6 @@ class StdinCompiler : public Compiler
public: public:
explicit StdinCompiler(const QString& filename, const QByteArray& encoding, const QString& content, bool silent,bool onlyCheckSyntax); explicit StdinCompiler(const QString& filename, const QByteArray& encoding, const QString& content, bool silent,bool onlyCheckSyntax);
~StdinCompiler();
protected: protected:
bool prepareForCompile() override; bool prepareForCompile() override;