From 4693e5029750d9b2531d1783cdfedeeda8516d8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Pecka?= <peckato1@fit.cvut.cz>
Date: Fri, 7 Mar 2014 20:13:51 +0100
Subject: [PATCH] missing virtual flag

---
 alib/src/regexp/Alternation.h   | 4 ++--
 alib/src/regexp/Concatenation.h | 4 ++--
 alib/src/regexp/Iteration.h     | 4 ++--
 alib/src/regexp/RegExpEmpty.h   | 4 ++--
 alib/src/regexp/RegExpEpsilon.h | 4 ++--
 alib/src/regexp/RegExpSymbol.h  | 4 ++--
 6 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/alib/src/regexp/Alternation.h b/alib/src/regexp/Alternation.h
index e01aac375c..d5f5c94622 100644
--- a/alib/src/regexp/Alternation.h
+++ b/alib/src/regexp/Alternation.h
@@ -54,12 +54,12 @@ public:
 	/**
 	 * @copydoc RegExpElement::containsEmptyString() const
 	 */
-	bool containsEmptyString() const;
+	virtual bool containsEmptyString() const;
 
 	/**
 	 * @copydoc RegExpElement::isEmpty() const
 	 */
-	bool isEmpty() const;
+	virtual bool isEmpty() const;
 };
 
 } /* namespace regexp */
diff --git a/alib/src/regexp/Concatenation.h b/alib/src/regexp/Concatenation.h
index 55b465ed9a..955c6b765b 100644
--- a/alib/src/regexp/Concatenation.h
+++ b/alib/src/regexp/Concatenation.h
@@ -53,12 +53,12 @@ public:
 	/**
 	 * @copydoc RegExpElement::containsEmptyString() const
 	 */
-	bool containsEmptyString() const;
+	virtual bool containsEmptyString() const;
 
 	/**
 	 * @copydoc RegExpElement::isEmpty() const
 	 */
-	bool isEmpty() const;
+	virtual bool isEmpty() const;
 };
 
 } /* namespace regexp */
diff --git a/alib/src/regexp/Iteration.h b/alib/src/regexp/Iteration.h
index f7b755113c..f5e1f2c5c6 100644
--- a/alib/src/regexp/Iteration.h
+++ b/alib/src/regexp/Iteration.h
@@ -61,12 +61,12 @@ public:
 	/**
 	 * @copydoc RegExpElement::containsEmptyString() const
 	 */
-	bool containsEmptyString() const;
+	virtual bool containsEmptyString() const;
 
 	/**
 	 * @copydoc RegExpElement::isEmpty() const
 	 */
-	bool isEmpty() const;
+	virtual bool isEmpty() const;
 };
 
 } /* namespace regexp */
diff --git a/alib/src/regexp/RegExpEmpty.h b/alib/src/regexp/RegExpEmpty.h
index 3578afa59f..f56089d6c8 100644
--- a/alib/src/regexp/RegExpEmpty.h
+++ b/alib/src/regexp/RegExpEmpty.h
@@ -40,12 +40,12 @@ public:
 	/**
 	 * @copydoc RegExpElement::containsEmptyString() const
 	 */
-	bool containsEmptyString() const;
+	virtual bool containsEmptyString() const;
 
 	/**
 	 * @copydoc RegExpElement::isEmpty() const
 	 */
-	bool isEmpty() const;
+	virtual bool isEmpty() const;
 };
 
 } /* namespace regexp */
diff --git a/alib/src/regexp/RegExpEpsilon.h b/alib/src/regexp/RegExpEpsilon.h
index 28b8a6c0a4..a3dc873544 100644
--- a/alib/src/regexp/RegExpEpsilon.h
+++ b/alib/src/regexp/RegExpEpsilon.h
@@ -41,12 +41,12 @@ public:
 	/**
 	 * @copydoc RegExpElement::containsEmptyString() const
 	 */
-	bool containsEmptyString() const;
+	virtual bool containsEmptyString() const;
 
 	/**
 	 * @copydoc RegExpElement::isEmpty() const
 	 */
-	bool isEmpty() const;
+	virtual bool isEmpty() const;
 };
 
 } /* namespace regexp */
diff --git a/alib/src/regexp/RegExpSymbol.h b/alib/src/regexp/RegExpSymbol.h
index 54e1b618aa..ce0a6b6055 100644
--- a/alib/src/regexp/RegExpSymbol.h
+++ b/alib/src/regexp/RegExpSymbol.h
@@ -45,14 +45,14 @@ public:
 	/**
 	 * @copydoc RegExpElement::containsEmptyString() const
 	 */
-	bool containsEmptyString() const;
+	virtual bool containsEmptyString() const;
 
 	const string& getSymbol() const;
 
 	/**
 	 * @copydoc RegExpElement::isEmpty() const
 	 */
-	bool isEmpty() const;
+	virtual bool isEmpty() const;
 };
 
 } /* namespace regexp */
-- 
GitLab