Changeset 8d7bef2 for src/Common
- Timestamp:
- Mar 20, 2018, 5:12:25 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 7e4b44db
- Parents:
- 68f9c43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/GC.h
r68f9c43 r8d7bef2 66 66 inline const GC& operator<< (const GC& gc, const T& x) { return gc; } 67 67 68 inline void traceAll(const GC& gc) {}68 inline void traceAll(const GC&) {} 69 69 70 70 /// Marks all arguments as live in current generation … … 94 94 class GC_Traceable { 95 95 friend class GC; 96 friend class GcTracer; 96 protected: 97 mutable bool mark; 97 98 98 mutable bool mark;99 protected:100 99 /// override to trace any child objects 101 virtual void trace(const GC& gc) const {}100 virtual void trace(const GC&) const {} 102 101 }; 103 102
Note: See TracChangeset
for help on using the changeset viewer.