summaryrefslogtreecommitdiff
path: root/src/pretty_printing.h
diff options
context:
space:
mode:
authorPaulo Matos <pmatos@linki.tools>2021-05-17 19:08:49 +0200
committerGitHub <noreply@github.com>2021-05-17 10:08:49 -0700
commitc8b95adb9723c128f76507d79456779fec92c708 (patch)
tree480c66d43cbf6392d7d493678d23e01b15a54a49 /src/pretty_printing.h
parent9844548855f0ebe962d2167356b9a4b31c248a2b (diff)
downloadbinaryen-c8b95adb9723c128f76507d79456779fec92c708.tar.gz
binaryen-c8b95adb9723c128f76507d79456779fec92c708.tar.bz2
binaryen-c8b95adb9723c128f76507d79456779fec92c708.zip
Remove unused argument major (#3889)
Affects `printMajor` and `printMedium`. There is no usage of this optional argument in the source code.
Diffstat (limited to 'src/pretty_printing.h')
-rw-r--r--src/pretty_printing.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pretty_printing.h b/src/pretty_printing.h
index 5e41a4d2d..f1dd9db04 100644
--- a/src/pretty_printing.h
+++ b/src/pretty_printing.h
@@ -62,16 +62,14 @@ inline std::ostream& printText(std::ostream& o, const char* str) {
return o << '"';
}
-inline std::ostream&
-printMajor(std::ostream& o, const char* str, bool major = false) {
+inline std::ostream& printMajor(std::ostream& o, const char* str) {
prepareMajorColor(o);
o << str;
restoreNormalColor(o);
return o;
}
-inline std::ostream&
-printMedium(std::ostream& o, const char* str, bool major = false) {
+inline std::ostream& printMedium(std::ostream& o, const char* str) {
prepareColor(o);
o << str;
restoreNormalColor(o);