refactor(Tools): restyle tools with astyle (#3465)
This commit is contained in:
parent
be09e03756
commit
b00a86f6ab
51 changed files with 1004 additions and 936 deletions
|
|
@ -58,7 +58,7 @@ std::string DBC::GetStringByOffset( int offset )
|
|||
break;
|
||||
}
|
||||
}
|
||||
char* d = new char[len+1];
|
||||
char* d = new char[len + 1];
|
||||
strcpy(d, (const char*)(StringBlock + offset));
|
||||
d[len] = '\0';
|
||||
std::string val = std::string(d);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue