Remove unused log.cpp/log.h
This commit is contained in:
parent
c388a47b3e
commit
423ff91847
|
@ -140,7 +140,7 @@ void dbgsetisdetachedbyuser(bool b)
|
|||
|
||||
void dbgclearignoredexceptions()
|
||||
{
|
||||
std::vector<ExceptionRange>().swap(ignoredExceptionRange);
|
||||
ignoredExceptionRange.clear();
|
||||
}
|
||||
|
||||
void dbgaddignoredexception(ExceptionRange range)
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
#include "log.h"
|
||||
#include "_global.h"
|
||||
|
||||
log::log(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
log::~log(void)
|
||||
{
|
||||
GuiAddLogMessage(message.str().c_str());
|
||||
|
||||
}
|
|
@ -1,27 +0,0 @@
|
|||
#ifndef _LOG_H
|
||||
#define _LOG_H
|
||||
|
||||
#include <sstream>
|
||||
|
||||
// a Qt's QDebug like message logging
|
||||
// usage: "log() << "hi" << "there";
|
||||
class log
|
||||
{
|
||||
public:
|
||||
log();
|
||||
~log();
|
||||
|
||||
public:
|
||||
template<class T>
|
||||
inline log & operator<<(const T & x)
|
||||
{
|
||||
// accumulate messages
|
||||
message << x;
|
||||
return *this;
|
||||
}
|
||||
|
||||
private:
|
||||
std::ostringstream message;
|
||||
};
|
||||
|
||||
#endif _LOG_H
|
|
@ -143,9 +143,6 @@
|
|||
<ClCompile Include="debugger.cpp">
|
||||
<Filter>Source Files\Debugger Core</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="log.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="stringutils.cpp">
|
||||
<Filter>Source Files\Utilities</Filter>
|
||||
</ClCompile>
|
||||
|
@ -319,9 +316,6 @@
|
|||
<ClInclude Include="handle.h">
|
||||
<Filter>Header Files\Utilities</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="log.h">
|
||||
<Filter>Header Files\Utilities</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="undocumented.h">
|
||||
<Filter>Header Files\Debugger Core</Filter>
|
||||
</ClInclude>
|
||||
|
|
Loading…
Reference in New Issue