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
2 people authored and pull[bot] committed Jul 15, 2023
1 parent 4cdb1a4 commit 1551156
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 1551156

Please sign in to comment.