From c0aaf8989e047fcaa51a3372da55080bb17fa9f0 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Wed, 17 Oct 2018 03:44:48 -0300 Subject: [PATCH] Remove tailing "_" in constructor arguments --- src/lstring.cpp | 2 +- src/stream.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lstring.cpp b/src/lstring.cpp index 3843a9a..bad60e5 100644 --- a/src/lstring.cpp +++ b/src/lstring.cpp @@ -8,7 +8,7 @@ namespace Sirit { -LiteralString::LiteralString(const std::string& string_) : string(string_) { +LiteralString::LiteralString(const std::string& string) : string(string) { operand_type = OperandType::String; } diff --git a/src/stream.cpp b/src/stream.cpp index 8bfdf65..3ffc78c 100644 --- a/src/stream.cpp +++ b/src/stream.cpp @@ -8,7 +8,7 @@ namespace Sirit { -Stream::Stream(std::vector& bytes_) : bytes(bytes_) {} +Stream::Stream(std::vector& bytes) : bytes(bytes) {} Stream::~Stream() = default;