浏览代码

Maybe ununsed

nordsoft 2 年之前
父节点
当前提交
1f9bec32a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);