From 119d0fe555e4f5d1fab66edcb47ed88bfb8a9265 Mon Sep 17 00:00:00 2001 From: Matthew Ellison Date: Sat, 5 May 2018 18:15:56 -0400 Subject: [PATCH] Changed compile error --- Headers/Morse.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Headers/Morse.hpp b/Headers/Morse.hpp index 9b66ee9..da78e0a 100644 --- a/Headers/Morse.hpp +++ b/Headers/Morse.hpp @@ -15,7 +15,7 @@ class Morse{ private: //Holds the Morse representation of the alphanumeric characters - const std::string Morse::code[36] {".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..", ".---", "-.-", ".-..", //A-L + const std::string code[36] {".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", "..", ".---", "-.-", ".-..", //A-L "--", "-.", "---", ".--.", "--.-", ".-.", "...", "-", "..-", "...-", ".--", "-..-", "-.--", "--..", //M-Z "-----", ".----", "..---", "...--", "....-", ".....", "-....", "--...", "---..", "----."}; //0-9 std::stringstream inputString; //The string that needs encoded/decoded