Skip to content

Commit

Permalink
Fix template argument naming for value assign (#26144)
Browse files Browse the repository at this point in the history
* Fix typo in template argument order

* Fix order of args

* Apply the change for real

* Fix typo

---------

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Aug 8, 2023
1 parent 134ffe8 commit 2487873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/assign/ValueAssign.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
namespace chip {
namespace Value {

template <class SRC, class DEST>
SRC & Assign(SRC & dest, const DEST & src)
template <class DEST, class SRC>
DEST & Assign(DEST & dest, const SRC & src)
{
return dest = src;
}
Expand Down

0 comments on commit 2487873

Please sign in to comment.