Skip to content

Commit

Permalink
Sync to 20.38.11
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed Feb 24, 2024
1 parent f3c6a31 commit 7336bdd
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Embedded Template Library - Arduino",
"version": "20.38.10",
"name": "Embedded Template Library ETL",
"version": "20.38.11",
"authors": {
"name": "John Wellbelove",
"email": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Embedded Template Library - Arduino
version=20.38.10
name=Embedded Template Library ETL
version=20.38.11
author= John Wellbelove <[email protected]>
maintainer=John Wellbelove <[email protected]>
license=MIT
Expand Down
10 changes: 8 additions & 2 deletions src/etl/optional.h
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,10 @@ namespace etl
{
if (this != &other)
{
storage.value = other.storage.value;
if (other.valid)
{
storage.value = other.storage.value;
}
valid = other.valid;
}

Expand All @@ -783,7 +786,10 @@ namespace etl
{
if (this != &other)
{
storage.value = etl::move(other.storage.value);
if (other.valid)
{
storage.value = etl::move(other.storage.value);
}
valid = other.valid;
}

Expand Down
2 changes: 1 addition & 1 deletion src/etl/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ SOFTWARE.

#define ETL_VERSION_MAJOR 20
#define ETL_VERSION_MINOR 38
#define ETL_VERSION_PATCH 10
#define ETL_VERSION_PATCH 11

#define ETL_VERSION ETL_STRING(ETL_VERSION_MAJOR) "." ETL_STRING(ETL_VERSION_MINOR) "." ETL_STRING(ETL_VERSION_PATCH)
#define ETL_VERSION_W ETL_WIDE_STRING(ETL_VERSION_MAJOR) L"." ETL_WIDE_STRING(ETL_VERSION_MINOR) L"." ETL_WIDE_STRING(ETL_VERSION_PATCH)
Expand Down

0 comments on commit 7336bdd

Please sign in to comment.