Move Version to bt namespace
This commit is contained in:
parent
5ccf4dde55
commit
eedad0d82c
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"};
|
||||
|
|
Loading…
Reference in a new issue