~verifypn-cpn/verifypn/unitTest

« back to all changes in this revision

Viewing changes to PetriEngine/Structures/ptrie_stable.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:
38
38
    typename I = size_t
39
39
    >
40
40
    class set_stable : public set<HEAPBOUND, SPLITBOUND, ALLOCSIZE, T, I> {
41
 
        using pt = set<PTRIEDEF>;
 
41
#ifdef __APPLE__
 
42
#define pt set<HEAPBOUND, SPLITBOUND, ALLOCSIZE, T, I>
 
43
#else
 
44
        using pt = set<HEAPBOUND, SPLITBOUND, ALLOCSIZE, T, I>;
 
45
#endif
42
46
    public:
43
47
        set_stable() : pt()
44
48
        {
54
58
 
55
59
    template<PTRIETPL>
56
60
    size_t
57
 
    set_stable<PTRIEDEF>::unpack(I index, uchar* destination) {
 
61
    set_stable<HEAPBOUND, SPLITBOUND, ALLOCSIZE, T, I>::unpack(I index, uchar* destination) {
58
62
        typename pt::node_t* node = NULL;
59
63
        typename pt::fwdnode_t* par = NULL;
60
64
        // we can find size without bothering anyone (to much)        
159
163
    }
160
164
}
161
165
 
162
 
 
 
166
#undef pt
163
167
#endif /* PTRIE_MAP_H */
 
 
b'\\ No newline at end of file'