Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and pull[bot] committed Oct 11, 2023
1 parent e1e91e6 commit 1038106
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions src/app/clusters/scenes/SceneTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,13 +246,13 @@ class SceneTable

SceneTable(){};

virtual ~SceneTable() = default;

// Not copyable
SceneTable(const SceneTable &) = delete;
SceneTable & operator=(const SceneTable &) = delete;

virtual CHIP_ERROR Init(PersistentStorageDelegate * storage) = 0;
virtual ~SceneTable() = default;

// Not copyable
SceneTable(const SceneTable &) = delete;
SceneTable & operator=(const SceneTable &) = delete;

virtual CHIP_ERROR Init(PersistentStorageDelegate * storage) = 0;
virtual void Finish() = 0;

// Data
Expand Down
2 changes: 1 addition & 1 deletion src/lib/support/DefaultStorageKeyAllocator.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace chip {
class StorageKeyName
{
public:
StorageKeyName(const StorageKeyName & other) = default;
StorageKeyName(const StorageKeyName & other) = default;
StorageKeyName & operator=(const StorageKeyName & other) = default;

~StorageKeyName() { memset(mKeyNameBuffer, 0, sizeof(mKeyNameBuffer)); }
Expand Down

0 comments on commit 1038106

Please sign in to comment.