diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-02-21 13:54:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-21 13:54:34 +0100 |
commit | b970c4187d852858886ac99074aa5f339c4ebf5c (patch) | |
tree | 1a2d79338b6a9dcd5c4f1f17b1f05e1d81504cb0 | |
parent | d2e4363ac0476879a1d5839fa136778ac85e8917 (diff) | |
parent | 7d4a6532236810cc033e8bfe6480cf01fdbad7e3 (diff) |
Merge pull request #26115 from WindyDarian/fix_dictionary_erase_returing_null
Fix return value for Dictionary.erase(key) in script
-rw-r--r-- | core/variant_call.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp index 32461f6584..25a0f3957c 100644 --- a/core/variant_call.cpp +++ b/core/variant_call.cpp @@ -480,7 +480,7 @@ struct _VariantCall { VCALL_LOCALMEM0(Dictionary, clear); VCALL_LOCALMEM1R(Dictionary, has); VCALL_LOCALMEM1R(Dictionary, has_all); - VCALL_LOCALMEM1(Dictionary, erase); + VCALL_LOCALMEM1R(Dictionary, erase); VCALL_LOCALMEM0R(Dictionary, hash); VCALL_LOCALMEM0R(Dictionary, keys); VCALL_LOCALMEM0R(Dictionary, values); |