Removed unnecessary const qualifiers in template
This commit is contained in:
parent
d64793770c
commit
387bc5f110
4
io.hpp
4
io.hpp
@ -209,7 +209,7 @@ static constexpr auto getPIN(const Bus bus)
|
|||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// Zero overhead Pin object for pretty code without losing performance
|
// Zero overhead Pin object for pretty code without losing performance
|
||||||
|
|
||||||
template <const P pin>
|
template <P pin>
|
||||||
class Pin {
|
class Pin {
|
||||||
public:
|
public:
|
||||||
// Pin objects cannot be moved or copied
|
// Pin objects cannot be moved or copied
|
||||||
@ -301,7 +301,7 @@ class Pin {
|
|||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
// Zero overhead Port object for pretty code without losing performance
|
// Zero overhead Port object for pretty code without losing performance
|
||||||
|
|
||||||
template <const Bus port>
|
template <Bus port>
|
||||||
class Port {
|
class Port {
|
||||||
public:
|
public:
|
||||||
// Port objects cannot be moved or copied
|
// Port objects cannot be moved or copied
|
||||||
|
Loading…
Reference in New Issue
Block a user