Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 2601

Show
Ignore:
Timestamp:
10/02/07 13:06:17 (1 year ago)
Author:
sean
Message:

Applied changes from ticket #654.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/core/Variant.d

    r2465 r2601  
    313313            else static if( isPointer!(T) ) 
    314314            { 
    315                 this.value.ptr = cast(void*)T
     315                this.value.ptr = cast(void*)value
    316316            } 
    317317            else static if( isObject!(T) ) 
    318318            { 
    319                 this.value.obj = T
     319                this.value.obj = value
    320320            } 
    321321            else 
     
    436436            } 
    437437        } 
    438         assert(false); 
    439438    } 
    440439