diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-27 20:14:07 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-27 20:19:41 +0100 |
commit | 5f4d9ef6df492bfd91fa7c48fb4d5f8c2afc40b2 (patch) | |
tree | 0ab6e69f768239e7d249b4b9cbe2fdb3a2796c32 | |
parent | 3e0ca5db7698d59c6f2e9e7ae3a3a1654641eb4e (diff) | |
download | libquotient-5f4d9ef6df492bfd91fa7c48fb4d5f8c2afc40b2.tar.gz libquotient-5f4d9ef6df492bfd91fa7c48fb4d5f8c2afc40b2.zip |
EventFactory: remove default constructor
This is a leftover from deferred `name` initialisation that wasn't
needed in the end.
-rw-r--r-- | lib/events/event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/event.h b/lib/events/event.h index 8f62872d..8347bb4f 100644 --- a/lib/events/event.h +++ b/lib/events/event.h @@ -146,7 +146,7 @@ namespace _impl { // Actual makeIfMatches specialisations will differ in the first // template parameter but that doesn't affect the function type public: - explicit EventFactory(const char* name = "") + explicit EventFactory(const char* name) : name(name) { static auto yetToBeConstructed = true; |