diff options
author | Andreas Pokorny <andreas.pokorny@canonical.com> | 2015-07-31 10:28:54 +0200 |
---|---|---|
committer | Andreas Pokorny <andreas.pokorny@canonical.com> | 2015-07-31 10:28:54 +0200 |
commit | 5a0c76af02204e766cef267478aab5e281ad951c (patch) | |
tree | 6243d59a58a4bbed567ec9e0fb1874807713d09a | |
parent | dbd9caa4e84030d47800550aa924b5dbf06cc969 (diff) |
make it null terminated
-rw-r--r-- | tests/modules/common/qtmir_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/modules/common/qtmir_test.h b/tests/modules/common/qtmir_test.h index 334ef63..3056179 100644 --- a/tests/modules/common/qtmir_test.h +++ b/tests/modules/common/qtmir_test.h @@ -65,13 +65,13 @@ private: }; -static char const* args = "qtmir-test"; +namespace { char const* argv[] = { "qtmir-test", nullptr }; } class FakeMirServer: private TestMirServerInit, public MirServer { public: FakeMirServer() - : MirServer(1, &args) + : MirServer(1, argv) { } |