Skip to content

Commit

Permalink
Fix shared keyword for ldc 1.18
Browse files Browse the repository at this point in the history
/usr/local/include/d/object.d(3219,36): Error: cannot implicitly convert expression aa of type shared(ProcessStatus[int]) to const(shared(ProcessStatus)[int])
../source/gx/tilix/terminal/monitor.d(46,46): Error: template instance object.values!(shared(ProcessStatus[int]), shared(ProcessStatus), int) error instantiating
  • Loading branch information
valpackett committed Nov 25, 2019
1 parent 9d0c052 commit 525d995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gx/tilix/terminal/monitor.d
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ enum SLEEP_CONSTANT_MS = 300;
/**
* List of processes being monitored.
*/
shared ProcessStatus[GPid] processes;
shared(ProcessStatus)[GPid] processes;

void monitorProcesses(int sleep, Tid tid) {
bool abort = false;
Expand Down

0 comments on commit 525d995

Please sign in to comment.