diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-09-12 04:39:44 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-09-19 22:23:33 +0200 |
commit | 9f43d34c590a825504b72be7f6b238d0ff2c915a (patch) | |
tree | 91f346921f4cf352b2e0c40133b275a81cfff766 | |
parent | f7e15e742f026c794b4e3419cc851a16a31e9f07 (diff) | |
download | libquotient-9f43d34c590a825504b72be7f6b238d0ff2c915a.tar.gz libquotient-9f43d34c590a825504b72be7f6b238d0ff2c915a.zip |
Use C++ instead of commenting
-rw-r--r-- | quotest/quotest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp index 4142c718..3a77eb01 100644 --- a/quotest/quotest.cpp +++ b/quotest/quotest.cpp @@ -51,7 +51,7 @@ private: QByteArrayList running {}, succeeded {}, failed {}; }; -using TestToken = QByteArray; // return value of QMetaMethod::name +using TestToken = decltype(std::declval<QMetaMethod>().name()); Q_DECLARE_METATYPE(TestToken) // For now, the token itself is the test name but that may change. |