From 403bfd8e6427cbf5be5e03edcb2519939a29c597 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Sun, 13 Apr 2014 21:05:40 +0200 Subject: [PATCH] remove using namespace std from AlibException --- alib2/src/AlibException.cpp | 6 ++---- alib2/src/regexp/Alternation.h | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/alib2/src/AlibException.cpp b/alib2/src/AlibException.cpp index 054eb0c615..b347cffdae 100644 --- a/alib2/src/AlibException.cpp +++ b/alib2/src/AlibException.cpp @@ -9,17 +9,15 @@ namespace alib { -using namespace std; - AlibException::AlibException() { } -AlibException::AlibException(const string& cause) { +AlibException::AlibException(const std::string& cause) { this->cause = cause; } -AlibException::~AlibException() throw (){ +AlibException::~AlibException() throw () { } diff --git a/alib2/src/regexp/Alternation.h b/alib2/src/regexp/Alternation.h index 75c9b1c5eb..da272b9ac3 100644 --- a/alib2/src/regexp/Alternation.h +++ b/alib2/src/regexp/Alternation.h @@ -38,6 +38,7 @@ public: /** * @return elements */ + //TODO mozna vratit vector aby slo reprezentovat a+a, optimalizace nechat na tomasovi const std::set<const RegExpElement*, RegExpElement::PointerLess > & getElements() const; /** -- GitLab