-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing FC Typenames (Issue #1217) #1248
Conversation
Note: waiting for fc bump |
static const char* name() | ||
{ | ||
return (std::string("graphene::chain::extension<") | ||
+ fc::get_typename<T>::name() + std::string(">")).c_str(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to change to static n
here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Done. Thanks.
I'm happy to bump FC as part of this ticket. Is that the way it should be done, or in a separate PR? Thanks. |
Yes. |
I think that needs a stronger bump. :-) |
Note: this includes the fix for #1244 |
This is the core portion of #1217, and works with PR bitshares/bitshares-fc#74
Prior get_typename was generating classes on many unnecessary classes. This modification correctly generates code for only the classes necessary.