We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da1ed2 commit c96967fCopy full SHA for c96967f
csrc/mmdeploy/core/registry.h
@@ -129,6 +129,9 @@ class Registry : public Registry<void> {
129
using Signature = GetSignature<Tag>;
130
using CreatorType = Creator<Signature>;
131
132
+ // workaround for gcc-10.2 (https://github.com/open-mmlab/mmdeploy/issues/1796)
133
+ Registry() : Registry<void>{} {}
134
+
135
bool Add(CreatorType& creator) & { return AddCreator(creator); }
136
137
CreatorType* Get(const string_view& name, int version) & {
0 commit comments