]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
logging: LogEntry: don't pass enums by reference
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Fri, 3 Dec 2010 22:44:48 +0000 (14:44 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 6 Dec 2010 23:35:52 +0000 (15:35 -0800)
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
src/common/LogEntry.h

index db5c2e7c34190e11ea5c42be2fc5b5c8b0a9802c..04c80b607a43cbcebcd2a5ae639f237f8f99488e 100644 (file)
@@ -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: