mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
terminal: use constexpr instead of #define
This commit is contained in:
parent
7268a982ad
commit
0429c4275a
@ -28,7 +28,7 @@
|
||||
|
||||
#include "common/terminal.h"
|
||||
|
||||
#define DEFAULT_TERMINAL_COLUMNS 80
|
||||
constexpr auto DEFAULT_TERMINAL_COLUMNS = 80;
|
||||
|
||||
int
|
||||
get_terminal_columns() {
|
||||
|
Loading…
Reference in New Issue
Block a user