Fix ICC warnings about commas at the end of enums

They're non-standard. Remove them.

Change-Id: I58dc093c2459747ce0183685d325522fb51e86ab
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Thiago Macieira
2012-05-20 21:11:10 +02:00
parent 71260c3167
commit e1cab76344
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ namespace {
enum {
eagerExpansion = 1,
MAX_TOKEN_EXPANSION_COUNT = 5000,
MAX_TOKEN_BUFFER_DEPTH = 16000, // for when macros are using some kind of right-folding, this is the list of "delayed" buffers waiting to be expanded after the current one.
MAX_TOKEN_BUFFER_DEPTH = 16000 // for when macros are using some kind of right-folding, this is the list of "delayed" buffers waiting to be expanded after the current one.
};
}

View File

@@ -97,7 +97,7 @@ private:
enum FlushPendingOption {
NothingSpecial = 0,
StopAfterWritingOneBuffer = 1,
EmitBytesWrittenAsync = 2, // Needed so we don't emit bytesWritten signal directly from writeBytes
EmitBytesWrittenAsync = 2 // Needed so we don't emit bytesWritten signal directly from writeBytes
};
Q_DECLARE_FLAGS(FlushPendingOptions, FlushPendingOption)
bool tryFlushPendingBuffers(QMutexLocker& locker, FlushPendingOptions flags = NothingSpecial);