Skip to content

Commit

Permalink
Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel committed Sep 21, 2024
1 parent f244d8c commit c78e7cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions src/nwb/RegisteredType.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ class RegisteredType
std::shared_ptr<IO::BaseIO> m_io;
};


/**
* @brief Macro to register a subclass with the RegisteredType class registry.
*
Expand Down Expand Up @@ -232,9 +231,8 @@ class RegisteredType
* schema.
* @param NAMESPACE The namespace of the subclass type in the format schema
*/
#define REGISTER_SUBCLASS(T, NAMESPACE) REGISTER_SUBCLASS_WITH_TYPENAME(T, NAMESPACE, #T)


#define REGISTER_SUBCLASS(T, NAMESPACE) \
REGISTER_SUBCLASS_WITH_TYPENAME(T, NAMESPACE, #T)

/**
* @brief Macro to initialize the static member `registered_` to trigger
Expand Down
2 changes: 1 addition & 1 deletion src/nwb/file/ElectrodeTable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ElectrodeTable : public DynamicTable
{
public:
// Register the ElectrodeTable as a subclass of Container
//REGISTER_SUBCLASS(ElectrodeTable, "core")
// REGISTER_SUBCLASS(ElectrodeTable, "core")
REGISTER_SUBCLASS_WITH_TYPENAME(ElectrodeTable, "core", "DynamicTable")

/**
Expand Down

0 comments on commit c78e7cb

Please sign in to comment.