diff --git a/src/rpc/command_impl.h b/src/rpc/command_impl.h index b7ec9168c..8bf0a42aa 100644 --- a/src/rpc/command_impl.h +++ b/src/rpc/command_impl.h @@ -63,7 +63,7 @@ template <> struct target_type_id { static con template <> inline bool is_target_compatible(const target_type& target) { return true; } template <> inline bool -is_target_compatible(const target_type& target) { return target.first == command_base::target_file || command_base::target_file_itr; } +is_target_compatible(const target_type& target) { return (target.first == command_base::target_file || target.first == command_base::target_file_itr); } template <> inline target_type get_target_cast(target_type target, int type) { return target; }