fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include <QLayout>
|
||||
#include <utility>
|
||||
|
||||
#include "content.h"
|
||||
#include "fullline.h"
|
||||
@@ -45,7 +46,7 @@ void Content::setCharCount(int charCount)
|
||||
{
|
||||
m_charCount = charCount;
|
||||
|
||||
for (FullLine * l : qAsConst(m_lines))
|
||||
for (FullLine * l : std::as_const(m_lines))
|
||||
l->setCharCount(m_charCount);
|
||||
}
|
||||
|
||||
@@ -58,7 +59,7 @@ void Content::setHeight(int height)
|
||||
{
|
||||
m_height = height;
|
||||
|
||||
for (FullLine * l : qAsConst(m_lines))
|
||||
for (FullLine * l : std::as_const(m_lines))
|
||||
l->setHeight(height);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user