From 50f6d9785fa124e75dc6854f97d228cef3998ad5 Mon Sep 17 00:00:00 2001
From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz>
Date: Sat, 28 Dec 2019 20:42:17 +0100
Subject: [PATCH] fix throw cause string

---
 alib2abstraction/src/abstraction/ValueHolder.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alib2abstraction/src/abstraction/ValueHolder.hpp b/alib2abstraction/src/abstraction/ValueHolder.hpp
index 7c2b5ef027..3222505f82 100644
--- a/alib2abstraction/src/abstraction/ValueHolder.hpp
+++ b/alib2abstraction/src/abstraction/ValueHolder.hpp
@@ -116,7 +116,7 @@ class ValueHolder : public ValueHolderImpl < Type > {
 public:
 	ValueHolder ( Type && value, bool temporary ) : ValueHolderImpl < Type > ( temporary ) {
 		if ( this->isLvalueRef ( ) && this->isTemporary ( ) )
-			throw std::domain_error ( "Lvalue references cannot be a temporarie." );
+			throw std::domain_error ( "Lvalue references cannot be temporaries." );
 
 		this->setData ( std::forward < Type > ( value ) );
 	}
-- 
GitLab