Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

fix for extended_symbol 1.7.x #767

Merged
merged 2 commits into from
Jan 9, 2020

Conversation

larryk85
Copy link
Contributor

@larryk85 larryk85 commented Dec 18, 2019

Change Description

The current definition will produce an ABI for extended_symbol that will fail in abi_serializer.

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

johndebord
johndebord previously approved these changes Dec 18, 2019
@@ -443,13 +443,13 @@ namespace eosio {
* @return boolean - true if extended_symbol `a` is less than `b`
*/
friend constexpr bool operator < ( const extended_symbol& a, const extended_symbol& b ) {
return std::tie( a.symbol, a.contract ) < std::tie( b.symbol, b.contract );
return std::tie( a.sym, a.contract ) < std::tie( b.sym, b.contract );
}

private:
symbol symbol; ///< the symbol
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed changing this to sym

Copy link
Contributor

@heifner heifner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change the symbol to sym

@larryk85 larryk85 merged commit c69675f into release/1.7.x Jan 9, 2020
@larryk85 larryk85 deleted the fix/extended_symbol_release_1.7.x branch January 9, 2020 20:03
rise-worlds pushed a commit to potato-coin/eosio.cdt that referenced this pull request Jul 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants