Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove prefix in namespace for the templates used in create_module.py #189

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

namespace heph@module@{
namespace @module@{
filippobrizzi marked this conversation as resolved.
Show resolved Hide resolved
/// \addtogroup @module@ @module@ module
/// @{

Expand Down
2 changes: 1 addition & 1 deletion cmake/module_template/src/@[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

#include "hephaestus/@module@/@[email protected]"

namespace heph@module@{
namespace @module@{

}
4 changes: 2 additions & 2 deletions cmake/module_template/tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
// NOLINTNEXTLINE(google-build-using-namespace)
using namespace ::testing;

namespace heph@module@::tests {
namespace @module@::tests {

TEST(Example, Example) {
EXPECT_TRUE(false);
}
} // namespace heph@
}