/home/jaredm/ircb/irc.cpp: In member function ‘std::unique_ptrirc::message irc::connection::next_msg()’:
/home/jaredm/ircb/irc.cpp:141:48: error: ‘class std::unique_ptrirc::channel’ has no member named ‘get_name’
141 | if((tmp->get_parameters().find(it->get_name())) != std::string::npos ) {
| ^~~~~~~~
/home/jaredm/ircb/irc.cpp:142:33: error: ‘class irc::message’ has no member named ‘get_param’
142 | std::cout<get_param()<<std::endl;
| ^~~~~~~~~
/home/jaredm/ircb/irc.cpp:145:5: error: expected ‘}’ before ‘else’
145 | else this->msg_list.push_back(std::move(tmp));
| ^~~~
/home/jaredm/ircb/irc.cpp:139:63: note: to match this ‘{’
139 | if(chan_list.size()>0 && tmp->get_cmd() == irc::PRIVMSG ) {
| ^
/home/jaredm/ircb/irc.cpp: At global scope:
/home/jaredm/ircb/irc.cpp:151:1: error: ISO C++ forbids declaration of ‘get_name’ with no type [-fpermissive]
151 | irc::channel::get_name() {
/home/jaredm/ircb/irc.cpp: In member function ‘std::unique_ptrirc::message irc::connection::next_msg()’:
/home/jaredm/ircb/irc.cpp:141:48: error: ‘class std::unique_ptrirc::channel’ has no member named ‘get_name’
141 | if((tmp->get_parameters().find(it->get_name())) != std::string::npos ) {
| ^~~~~~~~
/home/jaredm/ircb/irc.cpp:142:33: error: ‘class irc::message’ has no member named ‘get_param’
142 | std::cout<get_param()<<std::endl;
| ^~~~~~~~~
/home/jaredm/ircb/irc.cpp:145:5: error: expected ‘}’ before ‘else’
145 | else this->msg_list.push_back(std::move(tmp));
| ^~~~
/home/jaredm/ircb/irc.cpp:139:63: note: to match this ‘{’
139 | if(chan_list.size()>0 && tmp->get_cmd() == irc::PRIVMSG ) {
| ^
/home/jaredm/ircb/irc.cpp: At global scope:
/home/jaredm/ircb/irc.cpp:151:1: error: ISO C++ forbids declaration of ‘get_name’ with no type [-fpermissive]
151 | irc::channel::get_name() {