Skip to content

Commit

Permalink
messages: Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDebrunner committed Sep 26, 2023
1 parent b2afeec commit 2cf4a07
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ulog_cpp/messages.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,15 @@ class Value {
std::vector<float>, std::vector<double>, std::vector<bool>, std::string>;

template <typename T>
struct is_vector : std::false_type {};
struct is_vector : std::false_type {
};
template <typename T>
struct is_vector<std::vector<T>> : std::true_type {};
struct is_vector<std::vector<T>> : std::true_type {
};

template <typename T>
struct is_string : std::is_same<std::decay_t<T>, std::string> {};
struct is_string : std::is_same<std::decay_t<T>, std::string> {
};

Value(const Field& field_ref, const std::vector<uint8_t>::const_iterator& backing_ref_begin,
const std::vector<uint8_t>::const_iterator& backing_ref_end, int array_index = -1)
Expand Down

0 comments on commit 2cf4a07

Please sign in to comment.