Browse Source

[2157] make opcode a reference

Yoshitaka Aharen 12 years ago
parent
commit
cddeabfcf7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/auth/auth_srv.cc

+ 1 - 1
src/bin/auth/auth_srv.cc

@@ -525,7 +525,7 @@ AuthSrv::processMessage(const IOMessage& io_message, Message& message,
         return;
     }
 
-    const Opcode opcode = message.getOpcode();
+    const Opcode& opcode = message.getOpcode();
     stats_attrs.setRequestOpCode(opcode);
 
     try {