From 18e3d6dbca1250cdc36119c3da8328338fe9f1f6 Mon Sep 17 00:00:00 2001 From: Christian Parpart Date: Fri, 30 Nov 2018 13:34:44 +0100 Subject: liblangutil: small refactors wrt. API cleanups Especially also remove SourceLocation ctor's that the compiler can default-implement. --- liblangutil/CharStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'liblangutil/CharStream.h') diff --git a/liblangutil/CharStream.h b/liblangutil/CharStream.h index 6f2da3bb..f92beb30 100644 --- a/liblangutil/CharStream.h +++ b/liblangutil/CharStream.h @@ -80,7 +80,7 @@ public: void reset() { m_position = 0; } - std::string const& source() const { return m_source; } + std::string const& source() const noexcept { return m_source; } std::string const& name() const noexcept { return m_name; } ///@{ -- cgit