mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-02 18:46:58 -04:00
missing contructor
This commit is contained in:
parent
19ebf14e8c
commit
1c1d3e9897
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,7 @@ namespace portapack {
|
||||||
namespace spi_flash {
|
namespace spi_flash {
|
||||||
|
|
||||||
struct image_tag_t {
|
struct image_tag_t {
|
||||||
|
|
||||||
constexpr image_tag_t(
|
constexpr image_tag_t(
|
||||||
) : c { 0, 0, 0, 0 }
|
) : c { 0, 0, 0, 0 }
|
||||||
{
|
{
|
||||||
|
@ -45,6 +46,14 @@ struct image_tag_t {
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
image_tag_t(const image_tag_t& other)
|
||||||
|
{
|
||||||
|
c[0] = other.c[0];
|
||||||
|
c[1] = other.c[1];
|
||||||
|
c[2] = other.c[2];
|
||||||
|
c[3] = other.c[3];
|
||||||
|
}
|
||||||
|
|
||||||
image_tag_t& operator=(const image_tag_t& other) {
|
image_tag_t& operator=(const image_tag_t& other) {
|
||||||
c[0] = other.c[0];
|
c[0] = other.c[0];
|
||||||
c[1] = other.c[1];
|
c[1] = other.c[1];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue