Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8ffd335

Browse filesBrowse files
committed
Fix brace style and indent
1 parent 5ba5010 commit 8ffd335
Copy full SHA for 8ffd335

File tree

1 file changed

+6
-5
lines changed
Filter options

1 file changed

+6
-5
lines changed

‎api/CanMsg.h

Copy file name to clipboardExpand all lines: api/CanMsg.h
+6-5Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ class CanMsg : public Printable
5151

5252
CanMsg() : CanMsg(0, 0, nullptr) { }
5353

54-
CanMsg(CanMsg const & other) {
55-
id = other.id;
56-
data_length = other.data_length;
57-
if (data_length > 0)
58-
memcpy(data, other.data, data_length);
54+
CanMsg(CanMsg const & other)
55+
{
56+
id = other.id;
57+
data_length = other.data_length;
58+
if (data_length > 0)
59+
memcpy(data, other.data, data_length);
5960
}
6061

6162
virtual ~CanMsg() { }

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.