File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Src/StackMemoryCollections Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ in bool calculateSize
165165 builder . Append ( $@ "
166166 public ListOf{ typeof ( T ) . Name } ()
167167 {{
168- _stackMemoryC = new StackMemoryCollections.Class.StackMemory({ ( calculateSize ? sizeOfStr : ( sizeOf * 4 ) . ToString ( ) ) } );
168+ _stackMemoryC = new StackMemoryCollections.Class.StackMemory({ ( calculateSize ? $ " { sizeOfStr } * 4" : ( sizeOf * 4 ) . ToString ( ) ) } );
169169 _start = ({ typeof ( T ) . Name } *)_stackMemoryC.Start;
170170 Capacity = 4;
171171 _memoryOwner = true;
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ in bool calculateSize
179179 builder . Append ( $@ "
180180 public QueueOf{ typeof ( T ) . Name } ()
181181 {{
182- _stackMemoryC = new StackMemoryCollections.Class.StackMemory({ ( calculateSize ? sizeOfStr : ( sizeOf * 4 ) . ToString ( ) ) } );
182+ _stackMemoryC = new StackMemoryCollections.Class.StackMemory({ ( calculateSize ? $ " { sizeOfStr } * 4" : ( sizeOf * 4 ) . ToString ( ) ) } );
183183 _start = ({ typeof ( T ) . Name } *)_stackMemoryC.Start;
184184 Capacity = 4;
185185 _memoryOwner = true;
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ bool calculateSize
163163 builder . Append ( $@ "
164164 public StackOf{ typeof ( T ) . Name } ()
165165 {{
166- _stackMemoryC = new StackMemoryCollections.Class.StackMemory({ ( calculateSize ? sizeOfStr : ( sizeOf * 4 ) . ToString ( ) ) } );
166+ _stackMemoryC = new StackMemoryCollections.Class.StackMemory({ ( calculateSize ? $ " { sizeOfStr } * 4" : ( sizeOf * 4 ) . ToString ( ) ) } );
167167 _start = ({ typeof ( T ) . Name } *)_stackMemoryC.Start;
168168 Capacity = 4;
169169 _memoryOwner = true;
You can’t perform that action at this time.
0 commit comments