Commit 862c39be authored by Janusz Chorko's avatar Janusz Chorko

Explicitly disable copy assignment operator

parent 3b2441b8
...@@ -326,6 +326,8 @@ private: ...@@ -326,6 +326,8 @@ private:
//! Disallow construction from non-const array //! Disallow construction from non-const array
template<SizeType N> template<SizeType N>
GenericStringRef(CharType (&str)[N]) /* = delete */; GenericStringRef(CharType (&str)[N]) /* = delete */;
//! Copy assignment operator not permitted - immutable type
GenericStringRef& operator=(const GenericStringRef& rhs) /* = delete */;
}; };
//! Mark a character pointer as constant string //! Mark a character pointer as constant string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment