don't link with boost anymore as regex is handled by std now

This commit is contained in:
Albert S. 2020-03-29 21:24:31 +02:00
förälder 8595978560
incheckning b53aeadb8e
5 ändrade filer med 1 tillägg och 6 borttagningar

Visa fil

@ -2,10 +2,8 @@ FROM alpine:edge
RUN apk update
RUN apk upgrade
RUN apk add sqlite-dev
RUN apk add boost-regex
RUN apk add openssl-dev
RUN apk add make g++
RUN apk add boost-dev
COPY . /app
WORKDIR /app
RUN adduser -D qswiki

Visa fil

@ -2,7 +2,7 @@
CXXFLAGS=-std=c++17 -O0 -g -no-pie -pipe -MMD -Wall -Wextra
RELEASE_CXXFLAGS=-std=c++17 -O3 -pipe -MMD -Wall -Wextra
LDFLAGS=-lsqlite3 -lpthread -lcrypto -lboost_regex -lstdc++fs -lseccomp
LDFLAGS=-lsqlite3 -lpthread -lcrypto -lstdc++fs -lseccomp
CXX=g++

Visa fil

@ -1,6 +1,5 @@
#ifndef PARSER_H
#define PARSER_H
#include <boost/regex.hpp>
#include "iparser.h"
class Parser : public IParser

Visa fil

@ -24,7 +24,6 @@ SOFTWARE.
#include <map>
#include <cstdlib>
#include <fstream>
#include <boost/regex.hpp>
#include "logger.h"
#include "utils.h"

Visa fil

@ -8,7 +8,6 @@
#include <map>
#include <regex>
#include <ctime>
#include <boost/regex.hpp>
namespace utils
{