const-workitem.patch
author Benjamin Smedberg <benjamin@smedbergs.us>
Sun, 20 Apr 2008 21:43:09 -0400
changeset 42 53c5098cb79e0223016b6901194a89d913f235fb
parent 28 70c871a7a5e6175cbd6996016b04339d09288922
permissions -rw-r--r--
Updates and imports

diff --git a/MMgc/GC.h b/MMgc/GC.h
--- a/MMgc/GC.h
+++ b/MMgc/GC.h
@@ -932,7 +932,7 @@ namespace MMgc
 		uintptr	GetStackTop() const;
 
 		// for deciding a tree of things should be scanned from presweep
-		void PushWorkItem(GCWorkItem &item) { PushWorkItem(m_incrementalWork, item); }
+		void PushWorkItem(const GCWorkItem &item) { PushWorkItem(m_incrementalWork, item); }
 
 	private: