Skip to content

Commit

Permalink
inlining operator that produces multiple symbols when linking against…
Browse files Browse the repository at this point in the history
… class library (#35)
  • Loading branch information
Super-Genius authored Dec 19, 2023
1 parent f1069ee commit 6b1940b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nil/marshalling/status_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ namespace nil {
error_status_amount ///< Number of supported error statuses, must be last.
};

status_type operator|(const status_type &l_status, const status_type &r_status) {
inline status_type operator|(const status_type &l_status, const status_type &r_status) {
if (l_status == status_type::success) {
return r_status;
}
Expand Down

0 comments on commit 6b1940b

Please sign in to comment.