Commit 840073d9 authored by Dominik Charousset's avatar Dominik Charousset

Fix duplicate symbol error

parent 0ef1ee0e
......@@ -27,22 +27,22 @@ template <int Base>
bool is_digit(char c);
template <>
bool is_digit<2>(char c) {
inline bool is_digit<2>(char c) {
return c == '0' || c == '1';
}
template <>
bool is_digit<8>(char c) {
inline bool is_digit<8>(char c) {
return c >= '0' && c <= '7';
}
template <>
bool is_digit<10>(char c) {
inline bool is_digit<10>(char c) {
return c >= '0' && c <= '9';
}
template <>
bool is_digit<16>(char c) {
inline bool is_digit<16>(char c) {
return (c >= '0' && c <= '9')
|| (c >= 'A' && c <= 'F')
|| (c >= 'a' && c <= 'f');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment