From ec6c80d170c4a30e76abc22c889aa8cf27fb45a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 Sep 2017 04:57:15 +0300 Subject: Remove default parameter from font constructor and load function. --- src/gui/fonts/font.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/fonts/font.h') diff --git a/src/gui/fonts/font.h b/src/gui/fonts/font.h index f4f30a8be..4f3670374 100644 --- a/src/gui/fonts/font.h +++ b/src/gui/fonts/font.h @@ -90,7 +90,7 @@ class Font final public: Font(std::string filename, int size, - const int style = 0); + const int style); A_DELETE_COPY(Font) @@ -98,7 +98,7 @@ class Font final void loadFont(std::string filename, const int size, - const int style = 0) restrict2; + const int style) restrict2; int getWidth(const std::string &text) const restrict2 A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2