From: Colin Patrick McCabe Date: Fri, 3 Dec 2010 22:44:48 +0000 (-0800) Subject: logging: LogEntry: don't pass enums by reference X-Git-Tag: v0.25~463^2~28 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab61823e29b2417782a00c9551b0d77cc0446a19;p=ceph.git logging: LogEntry: don't pass enums by reference Signed-off-by: Colin McCabe --- diff --git a/src/common/LogEntry.h b/src/common/LogEntry.h index db5c2e7c3419..04c80b607a43 100644 --- a/src/common/LogEntry.h +++ b/src/common/LogEntry.h @@ -118,7 +118,7 @@ struct LogSummary { }; WRITE_CLASS_ENCODER(LogSummary) -inline ostream& operator<<(ostream& out, const clog_type& t) +inline ostream& operator<<(ostream& out, clog_type t) { switch (t) { case CLOG_DEBUG: