Temporarily switch to boost::regex
In combination with musl, parser crashed. glibc fine. Could not pinpoint down the exact reason mainly due to time constraints. Strange, in both cases actually libstdc++ is used, so this is very odd.
Tá an tiomantas seo le fáil i:
4
parser.h
4
parser.h
@ -1,13 +1,13 @@
|
||||
#ifndef PARSER_H
|
||||
#define PARSER_H
|
||||
#include <regex>
|
||||
#include <boost/regex.hpp>
|
||||
#include "iparser.h"
|
||||
|
||||
|
||||
class Parser : public IParser
|
||||
{
|
||||
private:
|
||||
std::string processLink(const PageDao &pageDao, UrlProvider &urlProvider, std::smatch &match) const;
|
||||
std::string processLink(const PageDao &pageDao, UrlProvider &urlProvider, boost::smatch &match) const;
|
||||
public:
|
||||
std::string extractCommand(std::string cmdname, std::string content) const ;
|
||||
std::vector<Headline> extractHeadlines(std::string content) const override ;
|
||||
|
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir