X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/ae26516a8828d54ab7c0e0bca92031a54a15ed62..8481ea2740db7758f5533abfdbdbacce1ac6b919:/src/dataparser.cpp diff --git a/src/dataparser.cpp b/src/dataparser.cpp index f83dbe5..2427af7 100644 --- a/src/dataparser.cpp +++ b/src/dataparser.cpp @@ -10,11 +10,11 @@ namespace qi = boost::spirit::qi; -using GTS::LineType; -using GTS::Lines; +using SSMD::LineType; +using SSMD::Lines; BOOST_FUSION_ADAPT_STRUCT( - GTS::LineType, + SSMD::LineType, (std::string, switchIP) (std::string, readCommunity) (std::string, writeCommunity) @@ -68,7 +68,7 @@ struct LinesGrammar qi::rule eol; }; -bool GTS::parseData(std::string & data, Lines & lines) +bool SSMD::parseData(std::string & data, Lines & lines) { std::string::iterator begin(data.begin()); std::string::iterator end(data.end());