mirror of
https://github.com/json-c/json-c.git
synced 2026-03-29 18:09:07 +08:00
Issue #359: Don't duplicate lh_get_hash, just omit the "inline" for VS2010.
This commit is contained in:
@@ -560,13 +560,6 @@ int lh_table_resize(struct lh_table *t, int new_size)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER < 1900)
|
||||
unsigned long lh_get_hash(const struct lh_table *t, const void *k)
|
||||
{
|
||||
return t->hash_fn(k);
|
||||
}
|
||||
#endif
|
||||
|
||||
void lh_table_free(struct lh_table *t)
|
||||
{
|
||||
struct lh_entry *c;
|
||||
|
||||
Reference in New Issue
Block a user