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 <andreilitvin@google.com>
  • Loading branch information
andy31415 and andreilitvin authored Apr 20, 2023
1 parent 28a95d2 commit 7b8b8d8
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 7b8b8d8

Please sign in to comment.