Skip to content

Commit e665b60

Browse files
authored
Merge pull request #1248 from bitshares/jmj_issue_1271
Missing FC Typenames (Issue #1217)
2 parents fcf42b2 + 39cf4c6 commit e665b60

File tree

2 files changed

+12
-1
lines changed
  • libraries
    • chain/include/graphene/chain/protocol

2 files changed

+12
-1
lines changed

libraries/chain/include/graphene/chain/protocol/ext.hpp

+11
Original file line numberDiff line numberDiff line change
@@ -229,4 +229,15 @@ void unpack( Stream& s, graphene::chain::extension<T>& value, uint32_t _max_dept
229229

230230
} // fc::raw
231231

232+
template<typename T> struct get_typename< graphene::chain::extension<T> >
233+
{
234+
static const char* name()
235+
{
236+
static std::string n = std::string("graphene::chain::extension<")
237+
+ fc::get_typename<T>::name() + std::string(">");
238+
return n.c_str();
239+
}
240+
};
241+
242+
232243
} // fc

0 commit comments

Comments
 (0)