Browse Source

Address SonarLint findings in IndexOutOfBoundsEvaluator class

Patrick-Christopher Mattulat 1 year ago
parent
commit
2aef95c721
1 changed files with 2 additions and 2 deletions
  1. 2 2
      source/ls-std/core/evaluator/IndexOutOfBoundsEvaluator.cpp

+ 2 - 2
source/ls-std/core/evaluator/IndexOutOfBoundsEvaluator.cpp

@@ -3,7 +3,7 @@
 * Company:         Lynar Studios
 * E-Mail:          webmaster@lynarstudios.com
 * Created:         2023-02-10
-* Changed:         2023-02-23
+* Changed:         2023-05-16
 *
 * */
 
@@ -18,7 +18,7 @@ using std::string;
 IndexOutOfBoundsEvaluator::IndexOutOfBoundsEvaluator(size_t _index, size_t _size) : index(_index), size(_size)
 {}
 
-IndexOutOfBoundsEvaluator::IndexOutOfBoundsEvaluator(size_t _index, size_t _size, string _message) : index(_index), size(_size), message(::move(_message))
+IndexOutOfBoundsEvaluator::IndexOutOfBoundsEvaluator(size_t _index, size_t _size, string _message) : index(_index), message(::move(_message)), size(_size)
 {}
 
 IndexOutOfBoundsEvaluator::~IndexOutOfBoundsEvaluator() noexcept = default;