aboutsummaryrefslogtreecommitdiff
path: root/quotest/quotest.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-09-12 04:39:44 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-09-19 22:23:33 +0200
commit9f43d34c590a825504b72be7f6b238d0ff2c915a (patch)
tree91f346921f4cf352b2e0c40133b275a81cfff766 /quotest/quotest.cpp
parentf7e15e742f026c794b4e3419cc851a16a31e9f07 (diff)
downloadlibquotient-9f43d34c590a825504b72be7f6b238d0ff2c915a.tar.gz
libquotient-9f43d34c590a825504b72be7f6b238d0ff2c915a.zip
Use C++ instead of commenting
Diffstat (limited to 'quotest/quotest.cpp')
-rw-r--r--quotest/quotest.cpp2
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.