~verifypn-cpn/verifypn/unitTest

« back to all changes in this revision

Viewing changes to PetriEngine/Structures/ptrie_map.h

  • Committer: Jiri Srba
  • Date: 2017-08-03 14:23:27 UTC
  • mfrom: (152.32.40 inhib)
  • mto: (152.32.43 inhib)
  • mto: This revision was merged to the branch mainline in revision 184.
  • Revision ID: srba.jiri@gmail.com-20170803142327-9lhwoybd1vdppivt
merged in branch lp:~verifypn-stub/verifypn/inhib_win fixing crosscompilation to windows

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    typename I = size_t>
37
37
    class map :
38
38
    public set_stable<HEAPBOUND, SPLITBOUND, ALLOCSIZE, T, I> {
39
 
#define pt set_stable<PTRIEDEF>
 
39
#ifdef __APPLE__
 
40
#define pt set_stable<HEAPBOUND, SPLITBOUND, ALLOCSIZE, T, I>        
 
41
#else
 
42
        using pt = set_stable<HEAPBOUND, SPLITBOUND, ALLOCSIZE, T, I>;
 
43
#endif
40
44
    public:
41
45
        using pt::set_stable;
42
46
        T& get_data(I index);
55
59
        return ent.data;
56
60
    }
57
61
}
58
 
 
 
62
#undef pt
59
63
#endif /* PTRIE_STABLE_H */
60
64