[Fix] Fix Debian aarch64 cross compiling (#1806)
* fix debian cross compiling * comment * minorpull/1855/head
parent
d95950d705
commit
cb964f6a58
|
@ -129,6 +129,9 @@ class Registry : public Registry<void> {
|
|||
using Signature = GetSignature<Tag>;
|
||||
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); }
|
||||
|
||||
CreatorType* Get(const string_view& name, int version) & {
|
||||
|
|
Loading…
Reference in New Issue