Receive reference, not copy

libaria2
Tatsuhiro Tsujikawa 2013-05-02 11:47:29 +09:00
parent d07b3ff8d9
commit 98b132b4d1
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ bool FillRequestGroupCommand::execute()
if(e_->isHaltRequested()) {
return true;
}
SharedHandle<RequestGroupMan> rgman = e_->getRequestGroupMan();
const SharedHandle<RequestGroupMan>& rgman = e_->getRequestGroupMan();
if(rgman->queueCheckRequested()) {
while(rgman->queueCheckRequested()) {
try {