Skip to content

Commit

Permalink
constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Dec 12, 2024
1 parent 2f0f046 commit a269ccb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sofa/framework/Config/src/sofa/Modules.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
struct Module ## name\
{\
private:\
inline static const char* moduleName = fullModuleName;\
static constexpr const char* moduleName = fullModuleName;\
public:\
Module ## name() = default;\
Module ## name(const Module ## name&) = delete;\
Expand All @@ -51,7 +51,7 @@
inline struct ModuleSofa
{
private:
inline static const char* moduleName = "Sofa";
static constexpr const char* moduleName = "Sofa";
public:
ModuleSofa() = default;
ModuleSofa(const ModuleSofa&) = delete;
Expand Down

0 comments on commit a269ccb

Please sign in to comment.