From ca53cf4fea884f58b341a50e8f2d824af7c2de9a Mon Sep 17 00:00:00 2001 From: Rui Abreu Ferreira Date: Tue, 27 Sep 2016 22:50:11 +0100 Subject: [PATCH] Ignore can_fail attribute in Neovim functions Starting with nvim 0.1.6 the can_fail attribute is no longer part of the API metadata. This commit removes the can_fail check in the comparison operator. --- src/function.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/function.cpp b/src/function.cpp index 2ca744c74..5eec1ac84 100644 --- a/src/function.cpp +++ b/src/function.cpp @@ -75,10 +75,6 @@ bool Function::operator==(const Function& other) return false; } - if ( this->can_fail != other.can_fail ) { - return false; - } - if ( this->return_type != other.return_type ) { return false; }