From dda192e11f0904efac883fc27d1efe2256798712 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Tue, 12 Sep 2017 22:40:08 +0200 Subject: [PATCH] drop not needed globalspace operator --- alib2data/src/string/CyclicString.h | 8 ++++---- alib2data/src/string/Epsilon.h | 8 ++++---- alib2data/src/string/LinearString.h | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/alib2data/src/string/CyclicString.h b/alib2data/src/string/CyclicString.h index 9b3e614ba1..d6a6c936ab 100644 --- a/alib2data/src/string/CyclicString.h +++ b/alib2data/src/string/CyclicString.h @@ -221,18 +221,18 @@ alib::ObjectBase* CyclicString < SymbolType >::inc() && { namespace alib { template < class SymbolType > -class ComponentConstraint< ::string::CyclicString < SymbolType >, SymbolType, ::string::GeneralAlphabet > { +class ComponentConstraint< string::CyclicString < SymbolType >, SymbolType, string::GeneralAlphabet > { public: - static bool used ( const ::string::CyclicString < SymbolType > & str, const SymbolType & symbol ) { + static bool used ( const string::CyclicString < SymbolType > & str, const SymbolType & symbol ) { const ext::vector<SymbolType>& content = str.getContent ( ); return std::find(content.begin(), content.end(), symbol) != content.end(); } - static bool available ( const ::string::CyclicString < SymbolType > &, const SymbolType & ) { + static bool available ( const string::CyclicString < SymbolType > &, const SymbolType & ) { return true; } - static void valid ( const ::string::CyclicString < SymbolType > &, const SymbolType & ) { + static void valid ( const string::CyclicString < SymbolType > &, const SymbolType & ) { } }; diff --git a/alib2data/src/string/Epsilon.h b/alib2data/src/string/Epsilon.h index 2eceda3b3b..5dc205e554 100644 --- a/alib2data/src/string/Epsilon.h +++ b/alib2data/src/string/Epsilon.h @@ -171,17 +171,17 @@ alib::ObjectBase* Epsilon < SymbolType >::inc() && { namespace alib { template < class SymbolType > -class ComponentConstraint< ::string::Epsilon < SymbolType >, SymbolType, ::string::GeneralAlphabet > { +class ComponentConstraint< string::Epsilon < SymbolType >, SymbolType, string::GeneralAlphabet > { public: - static bool used ( const ::string::Epsilon < SymbolType > &, const SymbolType & ) { + static bool used ( const string::Epsilon < SymbolType > &, const SymbolType & ) { return false; } - static bool available ( const ::string::Epsilon < SymbolType > &, const SymbolType & ) { + static bool available ( const string::Epsilon < SymbolType > &, const SymbolType & ) { return true; } - static void valid ( const ::string::Epsilon < SymbolType > &, const SymbolType & ) { + static void valid ( const string::Epsilon < SymbolType > &, const SymbolType & ) { } }; diff --git a/alib2data/src/string/LinearString.h b/alib2data/src/string/LinearString.h index 20b99827e6..f62021b8ca 100644 --- a/alib2data/src/string/LinearString.h +++ b/alib2data/src/string/LinearString.h @@ -311,18 +311,18 @@ alib::ObjectBase* LinearString < SymbolType >::inc() && { namespace alib { template < class SymbolType > -class ComponentConstraint< ::string::LinearString < SymbolType >, SymbolType, ::string::GeneralAlphabet > { +class ComponentConstraint< string::LinearString < SymbolType >, SymbolType, string::GeneralAlphabet > { public: - static bool used ( const ::string::LinearString < SymbolType > & str, const SymbolType & symbol ) { + static bool used ( const string::LinearString < SymbolType > & str, const SymbolType & symbol ) { const ext::vector<SymbolType>& content = str.getContent ( ); return std::find(content.begin(), content.end(), symbol) != content.end(); } - static bool available ( const ::string::LinearString < SymbolType > &, const SymbolType & ) { + static bool available ( const string::LinearString < SymbolType > &, const SymbolType & ) { return true; } - static void valid ( const ::string::LinearString < SymbolType > &, const SymbolType & ) { + static void valid ( const string::LinearString < SymbolType > &, const SymbolType & ) { } }; -- GitLab