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:
Feldwor 2019-09-18 17:37:30 +03:00 committed by GitHub
parent 1822edb88d
commit b61957f7f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ module gui;
import model; import model;
import dlangui; import dlangui;
import std.algorithm;
/// game action codes /// game action codes
enum TetrisAction : int { enum TetrisAction : int {