… | … | ||
---|---|---|---|
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include <cstring> | 27 | #include <cstring> |
28 | #include <cstdlib> | 28 | #include <cstdlib> |
29 | #include <glib.h> | 29 | #include <glib.h> |
30 | #include <tr1/unordered_set> | 30 | #include <unordered_set> |
31 | 31 | ||
32 | #include "global.h" | 32 | #include "global.h" |
33 | 33 | ||
34 | size_t shstr_alloc; | 34 | size_t shstr_alloc; |
35 | 35 | ||
36 | typedef std::tr1::unordered_set <const char *, str_hash, str_equal, slice_allocator<const char *> > HT; | 36 | typedef std::unordered_set <const char *, str_hash, str_equal, slice_allocator<const char *> > HT; |
37 | 37 | ||
38 | static HT ht; | 38 | static HT ht; |
39 | static int next_gc; | 39 | static int next_gc; |
40 | 40 | ||
41 | #define NUM_INT 3 | 41 | #define NUM_INT 3 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |