[Base] fix typo to silence spellchecker CI

This commit is contained in:
Uwe
2022-02-21 13:35:19 +01:00
parent da9c18374b
commit 288ccdb004
2 changed files with 9 additions and 9 deletions

View File

@@ -589,24 +589,24 @@ void InterpreterSingleton::runStringArg(const char * psCom,...)
}
// Singelton:
// Singleton:
InterpreterSingleton * InterpreterSingleton::_pcSingelton = nullptr;
InterpreterSingleton * InterpreterSingleton::_pcSingleton = nullptr;
InterpreterSingleton & InterpreterSingleton::Instance()
{
// not initialized!
if (!_pcSingelton)
_pcSingelton = new InterpreterSingleton();
return *_pcSingelton;
if (!_pcSingleton)
_pcSingleton = new InterpreterSingleton();
return *_pcSingleton;
}
void InterpreterSingleton::Destruct()
{
// not initialized or double destruct!
assert(_pcSingelton);
delete _pcSingelton;
_pcSingelton = nullptr;
assert(_pcSingleton);
delete _pcSingleton;
_pcSingleton = nullptr;
}
int InterpreterSingleton::runCommandLine(const char *prompt)

View File

@@ -313,7 +313,7 @@ public:
protected:
// singleton
static InterpreterSingleton *_pcSingelton;
static InterpreterSingleton *_pcSingleton;
private:
std::string _cDebugFileName;