fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
+2
-1
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <nglapplication/nglapplication.h>
|
||||
#include <utility>
|
||||
#include <NGLLogger/INGLLogger.h>
|
||||
#include <memory>
|
||||
|
||||
@@ -75,7 +76,7 @@ int main(int argc, char *argv[])
|
||||
if (portList.count() > 1)
|
||||
{
|
||||
portNumbers.reserve(portList.size());
|
||||
for (const QString &s : qAsConst(portList))
|
||||
for (const QString &s : std::as_const(portList))
|
||||
portNumbers << s.toInt();
|
||||
}
|
||||
else if (portList.count() == 1 && !portList.first().isEmpty())
|
||||
|
||||
Reference in new issue
Block a user