Merge pull request #2 from cwyyprog/cwyyprog-fix-for-build-with-gcc7.2-2
fix compile error
This commit is contained in:
commit
56d5d45b08
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ namespace fc {
|
|||
class exception;
|
||||
namespace ip { class address; }
|
||||
|
||||
template<typename T> class get_typename{};
|
||||
template<typename... T> struct get_typename;
|
||||
template<> struct get_typename<int32_t> { static const char* name() { return "int32_t"; } };
|
||||
template<> struct get_typename<int64_t> { static const char* name() { return "int64_t"; } };
|
||||
template<> struct get_typename<int16_t> { static const char* name() { return "int16_t"; } };
|
||||
|
|
|
|||
Loading…
Reference in a new issue