From d9d33bb89b9b99fe3fd5d551164b534ee1508cc0 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Wed, 26 Oct 2016 11:19:01 +0200
Subject: [PATCH] erase unneeded friend declaration (RegExpOptimize)

---
 .../src/regexp/unbounded/UnboundedRegExpAlternation.h     | 8 --------
 .../src/regexp/unbounded/UnboundedRegExpConcatenation.h   | 8 --------
 alib2data/src/regexp/unbounded/UnboundedRegExpIteration.h | 8 --------
 3 files changed, 24 deletions(-)

diff --git a/alib2data/src/regexp/unbounded/UnboundedRegExpAlternation.h b/alib2data/src/regexp/unbounded/UnboundedRegExpAlternation.h
index 93e7e17bf6..7575e133a7 100644
--- a/alib2data/src/regexp/unbounded/UnboundedRegExpAlternation.h
+++ b/alib2data/src/regexp/unbounded/UnboundedRegExpAlternation.h
@@ -13,12 +13,6 @@
 
 namespace regexp {
 
-namespace simplify {
-
-class RegExpOptimize;
-
-} /* namespace simplify */
-
 /**
  * Represents alternation operator in the regular expression. Contains list of UnboundedRegExpElement
  * as operands of the operator.
@@ -90,8 +84,6 @@ public:
 	 */
 	virtual void operator >>( std::ostream & out ) const;
 
-	friend class simplify::RegExpOptimize;
-
 	virtual explicit operator std::string ( ) const;
 };
 
diff --git a/alib2data/src/regexp/unbounded/UnboundedRegExpConcatenation.h b/alib2data/src/regexp/unbounded/UnboundedRegExpConcatenation.h
index deef3a8c9b..4703c0b027 100644
--- a/alib2data/src/regexp/unbounded/UnboundedRegExpConcatenation.h
+++ b/alib2data/src/regexp/unbounded/UnboundedRegExpConcatenation.h
@@ -13,12 +13,6 @@
 
 namespace regexp {
 
-namespace simplify {
-
-class RegExpOptimize;
-
-} /* namespace simplify */
-
 /**
  * Represents concatenation operator in the regular expression. Contains list of UnboundedRegExpElement
  * as operands of the operator.
@@ -90,8 +84,6 @@ public:
 	 */
 	virtual void operator >>( std::ostream & out ) const;
 
-	friend class simplify::RegExpOptimize;
-
 	virtual explicit operator std::string ( ) const;
 };
 
diff --git a/alib2data/src/regexp/unbounded/UnboundedRegExpIteration.h b/alib2data/src/regexp/unbounded/UnboundedRegExpIteration.h
index 56ffbdf75a..e6b3d06210 100644
--- a/alib2data/src/regexp/unbounded/UnboundedRegExpIteration.h
+++ b/alib2data/src/regexp/unbounded/UnboundedRegExpIteration.h
@@ -13,12 +13,6 @@
 
 namespace regexp {
 
-namespace simplify {
-
-class RegExpOptimize;
-
-} /* namespace simplify */
-
 /**
  * Represents iteration operator in the regular expression. Contains one UnboundedRegExpElement
  * as operand.
@@ -91,8 +85,6 @@ public:
 	 */
 	virtual void operator >>( std::ostream & out ) const;
 
-	friend class simplify::RegExpOptimize;
-
 	virtual explicit operator std::string ( ) const;
 };
 
-- 
GitLab