Skip to content

Commit 5ab90a8

Browse files
committed
Please consider the following formatting changes
1 parent 3e520df commit 5ab90a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Framework/Foundation/include/Framework/Signpost.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ struct o2_log_handle_t {
2323
// Helper function which replaces engineering types with a printf
2424
// compatible format string.
2525
template <auto N>
26-
constexpr auto remove_engineering_type(char const (&src)[N]) {
26+
constexpr auto remove_engineering_type(char const (&src)[N])
27+
{
2728
std::array<char, N> res = {};
2829
// do whatever string manipulation you want in res.
29-
char *t = res.data();
30+
char* t = res.data();
3031
for (int i = 0; i < N; ++i) {
31-
if (src[i] == '%' && src[i+1] == '{')
32-
{
32+
if (src[i] == '%' && src[i + 1] == '{') {
3333
*t++ = src[i];
3434
while (src[i] != '}' && src[i] != 0) {
3535
++i;

0 commit comments

Comments
 (0)