Skip to content
Snippets Groups Projects
Commit ee3843af authored by Luca Erbetta's avatar Luca Erbetta :rocket:
Browse files

Fixed warnings

parent a87afcab
No related branches found
No related tags found
No related merge requests found
......@@ -353,7 +353,7 @@ class BitPacker {
and value to be written in the packet and check some conditions */
template<typename T>
bool checkParameters(int pos, int num, T val) {
(void)val; // Avoid unused warning
// check that T is a numerical type
static_assert(std::is_arithmetic<T>::value, "The specified value is not a number (T must be an arithmetic type)");
// check that T is uintX_t
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment