Commit 028a31ed authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Use std::array

parent 795180cb
......@@ -28,6 +28,8 @@
#include "../Profile.h"
#include "../ProfileWriter.h"
#include <array>
using namespace Konsole;
void ProfileTest::testProfile()
......@@ -132,7 +134,7 @@ void ProfileTest::testClone()
void ProfileTest::testProfileGroup()
{
// create three new profiles
Profile::Ptr profile[3];
std::array<Profile::Ptr, 3> profile;
for (auto &i : profile) {
i = new Profile;
QVERIFY(!i->asGroup());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment