[Fix] Fix Debian aarch64 cross compiling (#1806)
* fix debian cross compiling * comment * minorpull/1935/head
parent
0da1ed2311
commit
c96967ffc1
|
@ -129,6 +129,9 @@ class Registry : public Registry<void> {
|
||||||
using Signature = GetSignature<Tag>;
|
using Signature = GetSignature<Tag>;
|
||||||
using CreatorType = Creator<Signature>;
|
using CreatorType = Creator<Signature>;
|
||||||
|
|
||||||
|
// workaround for gcc-10.2 (https://github.com/open-mmlab/mmdeploy/issues/1796)
|
||||||
|
Registry() : Registry<void>{} {}
|
||||||
|
|
||||||
bool Add(CreatorType& creator) & { return AddCreator(creator); }
|
bool Add(CreatorType& creator) & { return AddCreator(creator); }
|
||||||
|
|
||||||
CreatorType* Get(const string_view& name, int version) & {
|
CreatorType* Get(const string_view& name, int version) & {
|
||||||
|
|
Loading…
Reference in New Issue