mirror of https://github.com/buggins/dlangui.git
add import std.algorithm;
``` vaidas@vaidas-SATELLITE-L855:~$ dub run dlangui:tetris Building package dlangui:tetris in /home/vaidas/.dub/packages/dlangui-0.9.182/dlangui/examples/tetris/ Performing "debug" build using dmd for x86_64. derelict-util 3.0.0-beta.2: target for configuration "library" is up to date. derelict-ft 2.0.0-beta.5: target for configuration "library" is up to date. derelict-gl3 2.0.0-beta.8: target for configuration "library" is up to date. derelict-sdl2 3.0.0-beta.8: target for configuration "derelict-sdl2-dynamic" is up to date. dlangui 0.9.182: target for configuration "minimal" is up to date. dlangui:tetris 0.9.182: building configuration "application"... .dub/packages/dlangui-0.9.182/dlangui/examples/tetris/src/gui.d(562,20): Error: min is not defined, perhaps import std.algorithm; is needed? dmd failed with exit code 1. ```
This commit is contained in:
parent
1822edb88d
commit
b61957f7f9
|
@ -3,6 +3,7 @@ module gui;
|
|||
import model;
|
||||
|
||||
import dlangui;
|
||||
import std.algorithm;
|
||||
|
||||
/// game action codes
|
||||
enum TetrisAction : int {
|
||||
|
|
Loading…
Reference in New Issue