Skip to content

Commit

Permalink
#105: use c++17 nested namespace notation for consistency in render c…
Browse files Browse the repository at this point in the history
…lass
  • Loading branch information
tlamonthezie committed Sep 4, 2024
1 parent c5760fd commit e340ef2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/vt-tv/render/render.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

// using namespace nb::literals;

namespace vt { namespace tv {
namespace vt::tv {

Render::Render(Info in_info)
: info_(in_info) // std:move ?
Expand Down Expand Up @@ -1068,4 +1068,4 @@ void Render::generate(uint64_t font_size, uint64_t win_size) {
}
}

}} // namespace vt::tv
} // namespace vt::tv
4 changes: 2 additions & 2 deletions src/vt-tv/render/render.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
#include <variant>
#include <cmath>

namespace vt { namespace tv {
namespace vt::tv {

/**
* \struct Render
Expand Down Expand Up @@ -284,6 +284,6 @@ struct Render {
void generate(uint64_t font_size = 50, uint64_t win_size = 2000);
};

}} /* end namespace vt::tv */
} /* end namespace vt::tv */

#endif /*INCLUDED_VT_TV_RENDER_RENDER_H*/

0 comments on commit e340ef2

Please sign in to comment.