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

Changeset 2853

Show
Ignore:
Timestamp:
11/11/07 10:00:28 (1 year ago)
Author:
keinfarbton
Message:

Exp D2: fixed wrong cast, needs this. instead for delegate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/experimental/D2.0/tango/io/stream/SnoopStream.d

    r2810 r2853  
    4545                this.host = host; 
    4646                this.layout = Format; 
    47                 this.snoop = snoop ? snoop : cast(Snoop)&snooper; 
     47                this.snoop = snoop ? snoop : &this.snooper; 
    4848        } 
    4949 
     
    145145                this.host = host; 
    146146                this.layout = Format; 
    147                 this.snoop = snoop ? snoop : cast(Snoop)&snooper; 
     147                this.snoop = snoop ? snoop : &this.snooper; 
    148148        } 
    149149