From c5b3de1732ca49c78c8ed8cf77f9e9fa414d2f04 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 4 May 2018 18:59:01 +0900 Subject: gtad.yaml: Support maps of events Use std::unordered_map<> (now supported by GTAD and converters.h) for that. --- lib/jobs/gtad.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/jobs/gtad.yaml') diff --git a/lib/jobs/gtad.yaml b/lib/jobs/gtad.yaml index f606481e..788c0d91 100644 --- a/lib/jobs/gtad.yaml +++ b/lib/jobs/gtad.yaml @@ -94,8 +94,12 @@ analyzer: imports: - //: { type: QJsonArray, "avoidCopy?": true, imports: } map: + - /state_event.yaml$/: + type: "std::unordered_map" + noCopy?: true + imports: - /.+/: - type: QHash + type: "QHash" avoidCopy?: true imports: - //: -- cgit v1.2.3