Skip to content

Commit 4f4381a

Browse files
authored
Update Compilers in Test Workflow (#373)
* Update Compilers in Test Workflow * address copy elision warning
1 parent 1a46aaf commit 4f4381a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pull_request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
test_library:
3333
uses: NWChemEx/.github/.github/workflows/test_nwx_library.yaml@master
3434
with:
35-
compilers: '["gcc-11", "clang-14"]'
35+
compilers: '["gcc-14", "clang-19"]'

include/pluginplay/fields/module_input.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ auto& ModuleInput::change(T&& new_value) {
120120
if constexpr(detail_::IsCString<T>::value) {
121121
change_(wrap_value_(std::string(new_value)));
122122
} else {
123-
change_(std::move(wrap_value_(std::forward<T>(new_value))));
123+
change_(wrap_value_(std::forward<T>(new_value)));
124124
}
125125
return *this;
126126
}

include/pluginplay/fields/module_result.ipp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ void ModuleResult::change(T&& new_value) {
4646
else if constexpr(detail_::IsCString<T>::value)
4747
change_(wrap_value_(std::string(new_value)));
4848
else
49-
change_(std::move(wrap_value_(std::forward<T>(new_value))));
49+
change_(wrap_value_(std::forward<T>(new_value)));
5050
}
5151

5252
template<typename T>

0 commit comments

Comments
 (0)