summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerUtilities/src/CAmCommandLineSingleton.cpp')
-rw-r--r--AudioManagerUtilities/src/CAmCommandLineSingleton.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp b/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp
index d2dff35..1170c31 100644
--- a/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp
+++ b/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp
@@ -44,6 +44,14 @@ TCLAP::CmdLine* CAmCommandLineSingleton::instance()
return pSingleCmdLine;
}
+void CAmCommandLineSingleton::deleteInstance()
+{
+ if (pSingleCmdLine)
+ delete pSingleCmdLine;
+
+ pSingleCmdLine=NULL;
+}
+
CAmCommandLineSingleton::~CAmCommandLineSingleton() {
// TODO Auto-generated destructor stub
}