Ver código fonte

Maybe ununsed

nordsoft 2 anos atrás
pai
commit
1f9bec32a1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      launcher/lobby/chat_moc.cpp

+ 1 - 1
launcher/lobby/chat_moc.cpp

@@ -12,7 +12,7 @@ Chat::Chat(QWidget *parent) :
 	
 	ui->messageEdit->setCompleter(&namesCompleter);
 	
-	for(auto i : {GLOBAL, ROOM})
+	for([[maybe_unused]] auto i : {GLOBAL, ROOM})
 		chatDocuments.push_back(new QTextDocument(this));
 	
 	setChatId(GLOBAL);