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