Skip to content

Commit

Permalink
Fix #143: cFramStorage::setCurrent() should be void
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Apr 13, 2019
1 parent e7620bf commit d003ee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/cFramStorage.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class cFramStorage::Object {
+unsigned nReplicants();
+uint32_t offsetOfReplicant();
+uint8_t getCurrent();
+uint8_t setCurrent();
+void setCurrent();
+uint8_t *getDiscriminatorBuffer();
+size_t getDiscriminatorBufferSize();
+size_t offsetOfDiscriminator();
Expand Down
2 changes: 1 addition & 1 deletion src/Catena_FramStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ struct cFramStorage::Object : public cFramStorage::ObjectRaw
}

// set discriminator (only in local image, of cousre)
uint8_t setCurrent(uint8_t v)
void setCurrent(uint8_t v)
{
this->uVer[0] = v;
this->uVer[1] = v;
Expand Down

0 comments on commit d003ee0

Please sign in to comment.