1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 18:54:48 +00:00

indenter:: default value for 'b'

This commit is contained in:
Zeno Rogue 2019-11-15 02:20:46 +01:00
parent 3c42a9c081
commit 9c61d80248

View File

@ -261,7 +261,7 @@ struct indenter {
};
struct indenter_finish : indenter {
indenter_finish(bool b): indenter(b ? 2:0) {}
indenter_finish(bool b = true): indenter(b ? 2:0) {}
~indenter_finish() { if(hlog.indentation != ind.backup) println(hlog, "(done)"); }
};