summaryrefslogtreecommitdiff
path: root/src/gui/fonts/font.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-18 04:57:15 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-18 04:57:15 +0300
commitec6c80d170c4a30e76abc22c889aa8cf27fb45a4 (patch)
tree731b2ff100005f6deb5951ff516d45897c9f94fe /src/gui/fonts/font.h
parentea7ce2d1099761d4f10a1985cc1491dd306093fb (diff)
downloadmv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.tar.gz
mv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.tar.bz2
mv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.tar.xz
mv-ec6c80d170c4a30e76abc22c889aa8cf27fb45a4.zip
Remove default parameter from font constructor and load function.
Diffstat (limited to 'src/gui/fonts/font.h')
-rw-r--r--src/gui/fonts/font.h4
1 files changed, 2 insertions, 2 deletions
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;