Move Version to bt namespace

This commit is contained in:
King_DuckZ 2021-04-22 14:10:28 +02:00
parent 5ccf4dde55
commit eedad0d82c
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@
#include <cstddef>
#include <stdexcept>
namespace dhandy {
namespace dhandy::bt {
template <std::size_t N>
class Version {
@ -96,6 +96,6 @@ inline constexpr unsigned int Version<N>::revision() const {
throw std::out_of_range("Not enough version entries, there is no revision number");
}
} //namespace dhandy
} //namespace dhandy::bt
#endif

View file

@ -19,7 +19,7 @@
#include "duckhandy/version_bt.hpp"
TEST_CASE ("Version class tests", "[version][bt]") {
using dhandy::Version;
using dhandy::bt::Version;
{
constexpr Version<1> ver{"102"};