From 1a869d058f3f2822d9407923c131b58dd6f1fb02 Mon Sep 17 00:00:00 2001 From: shbling Date: Sun, 16 Nov 2014 18:41:19 +0800 Subject: [PATCH] Update ex7_23_24_25.cpp --- ch07/ex7_23_24_25.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch07/ex7_23_24_25.cpp b/ch07/ex7_23_24_25.cpp index 676f3002..887987e3 100644 --- a/ch07/ex7_23_24_25.cpp +++ b/ch07/ex7_23_24_25.cpp @@ -36,7 +36,7 @@ class wyScreen //! constructs: wyScreen() = default; wyScreen(const pos h, const pos w) : height(h), width(w), contents(h * w, ' ') { } - wyScreen(const pos h, const pos w, const char &c) : height(h), width(w), contents(h * w, c){ } + wyScreen(const pos h, const pos w, const char c) : height(h), width(w), contents(h * w, c){ } private: pos cursor = 0;