Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hsaturn/TinyConsole
Browse files Browse the repository at this point in the history
  • Loading branch information
hsaturn committed Feb 25, 2023
2 parents a5cd289 + f61454b commit 2b71705
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies":
{ },
"version": "0.4.3",
"version": "0.4.4",
"exclude": "",
"examples": "examples/*/*.ino",
"frameworks": "arduino",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=TinyConsole
version=0.4.3
version=0.4.4
author=Francois BIOT, HSaturn, <[email protected]>
maintainer=Francois BIOT, HSaturn, <[email protected]>
sentence=A tiny command line and term handler
Expand Down
6 changes: 3 additions & 3 deletions src/TinyString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ TinyString& TinyString::operator=(TinyString && other)
{
if (this == &other) return *this;
clear();
str = std::exchange(other.str, str);
size_ = std::exchange(other.size_, size_);
free_ = std::exchange(other.free_, free_);
std::swap(other.str, str);
std::swap(other.size_, size_);
std::swap(other.free_, free_);
return *this;
}

Expand Down

0 comments on commit 2b71705

Please sign in to comment.