summaryrefslogtreecommitdiff
path: root/src/KM_log.h
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2008-01-15 07:20:07 +0000
committermsheby <>2008-01-15 07:20:07 +0000
commit615e76314bbdcd77ef13e8248c8f1903c3430895 (patch)
tree8b5e648dce6eb4ad9bc658b115d17356e836667e /src/KM_log.h
parent3230100038025a37752a4d355c14368cc4519939 (diff)
Rename local variable "PIC" to "pic" so to avoid namespace
clash with gcc preprocessor PIC definition.
Diffstat (limited to 'src/KM_log.h')
-rwxr-xr-xsrc/KM_log.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/KM_log.h b/src/KM_log.h
index 6da77df..fb8d805 100755
--- a/src/KM_log.h
+++ b/src/KM_log.h
@@ -101,8 +101,7 @@ namespace Kumu
const i32_t LOG_ALLOW_NONE = 0x00000000;
const i32_t LOG_ALLOW_ALL = 0x000fffff;
- // options are used to control display format
- // default is 0 (
+ // options are used to control display format default is 0.
const i32_t LOG_OPTION_TYPE = 0x01000000;
const i32_t LOG_OPTION_TIMESTAMP = 0x02000000;
const i32_t LOG_OPTION_PID = 0x04000000;
@@ -137,7 +136,7 @@ namespace Kumu
};
- typedef ArchivableList<LogEntry> LogEntryList_t;
+ typedef ArchivableList<LogEntry> LogEntryList;
//
class ILogSink
@@ -231,12 +230,12 @@ namespace Kumu
class EntryListLogSink : public ILogSink
{
Mutex m_Lock;
- LogEntryList_t& m_Target;
+ LogEntryList& m_Target;
KM_NO_COPY_CONSTRUCT(EntryListLogSink);
EntryListLogSink();
public:
- EntryListLogSink(LogEntryList_t& target) : m_Target(target) {}
+ EntryListLogSink(LogEntryList& target) : m_Target(target) {}
virtual ~EntryListLogSink() {}
void WriteEntry(const LogEntry& Entry);