Skip to content

Commit c96967f

Browse files
lzhangzzirexyc
authored andcommitted
[Fix] Fix Debian aarch64 cross compiling (#1806)
* fix debian cross compiling * comment * minor
1 parent 0da1ed2 commit c96967f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

csrc/mmdeploy/core/registry.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ class Registry : public Registry<void> {
129129
using Signature = GetSignature<Tag>;
130130
using CreatorType = Creator<Signature>;
131131

132+
// workaround for gcc-10.2 (https://github.com/open-mmlab/mmdeploy/issues/1796)
133+
Registry() : Registry<void>{} {}
134+
132135
bool Add(CreatorType& creator) & { return AddCreator(creator); }
133136

134137
CreatorType* Get(const string_view& name, int version) & {

0 commit comments

Comments
 (0)