[llvm-commits] [vmkit] r48953 - /vmkit/trunk/lib/Mvm/Allocator/gcmapper.h
Owen Anderson
resistor at mac.com
Sun Mar 30 09:58:16 PDT 2008
Author: resistor
Date: Sun Mar 30 11:58:16 2008
New Revision: 48953
URL: http://llvm.org/viewvc/llvm-project?rev=48953&view=rev
Log:
Add explicit keyword.
Modified:
vmkit/trunk/lib/Mvm/Allocator/gcmapper.h
Modified: vmkit/trunk/lib/Mvm/Allocator/gcmapper.h
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/Mvm/Allocator/gcmapper.h?rev=48953&r1=48952&r2=48953&view=diff
==============================================================================
--- vmkit/trunk/lib/Mvm/Allocator/gcmapper.h (original)
+++ vmkit/trunk/lib/Mvm/Allocator/gcmapper.h Sun Mar 30 11:58:16 2008
@@ -37,7 +37,7 @@
GCMappedArea *next() { return _next; }
inline GCMappedArea() { _prev = _next = this; }
- inline GCMappedArea(uintptr_t n) { _prev = _next = this; mmap(n); }
+ inline explicit GCMappedArea(uintptr_t n) { _prev = _next = this; mmap(n); }
inline GCMappedArea(GCMappedArea *p, uintptr_t n) { append(p); mmap(n); }
inline void initialise(void *p, uintptr_t n) { _mapped_area = p; _mapped_nbb = n; }
More information about the llvm-commits
mailing list