@@ -229,7 +229,7 @@ private struct AtomicSymbolInfo
229229
230230 public cstring toString ()
231231 {
232- return format (" {}" , * this );
232+ return format (" {}" , * (& this ) );
233233 }
234234
235235
@@ -244,10 +244,10 @@ private struct AtomicSymbolInfo
244244
245245 ***************************************************************************/
246246
247- public void toString (FormatterSink sink)
247+ public void toString (scope FormatterSink sink)
248248 in
249249 {
250- assert (this .creator ! is null );
250+ assert ((& this ) .creator ! is null );
251251 }
252252 body
253253 {
@@ -263,7 +263,7 @@ private struct AtomicSymbolInfo
263263 Const! (char )* return_type;
264264
265265 invoke! (MXSymbolGetAtomicSymbolInfo)
266- (this .creator, &name, &description,
266+ ((& this ) .creator, &name, &description,
267267 &num_args, &arg_names, &arg_type_infos, &arg_descriptions,
268268 &key_var_num_args, &return_type);
269269
@@ -329,7 +329,7 @@ private struct AtomicSymbolList
329329
330330 public cstring toString ()
331331 {
332- return format (" {}" , * this );
332+ return format (" {}" , * (& this ) );
333333 }
334334
335335
@@ -345,13 +345,13 @@ private struct AtomicSymbolList
345345
346346 ***************************************************************************/
347347
348- public void toString (FormatterSink sink)
348+ public void toString (scope FormatterSink sink)
349349 {
350350 foreach (creator; atomicSymbolCreatorList())
351351 {
352352 assert (creator ! is null );
353353
354- if (this .detailed_info)
354+ if ((& this ) .detailed_info)
355355 {
356356 sformat(sink, " ----\n " );
357357 sformat(sink, " {}" , AtomicSymbolInfo(creator));
0 commit comments