DEV: Makefile rule correction and some warning suppression

This commit is contained in:
Christos Houtouridis
2019-11-14 13:43:25 +02:00
parent 4d9e2e4678
commit ee9b93317b
4 changed files with 21 additions and 17 deletions
+6 -1
View File
@@ -38,9 +38,14 @@ namespace utl {
public:
_1wire_id_t () noexcept
: id_t<uint8_t, 8> {0, 0, 0, 0, 0, 0, 0, 0} { }
_1wire_id_t (const _1wire_id_t& id) noexcept {
constexpr _1wire_id_t (const _1wire_id_t& id) noexcept {
std::copy(id.begin(), id.end(), this->begin());
}
_1wire_id_t operator=(const _1wire_id_t& id) noexcept {
_1wire_id_t r;
std::copy(id.begin(), id.end(), r.begin());
return r;
}
//!@}
/*!
* \name User functionality provided by the interface