Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitd6b8c46

Browse files
committed
Small refactoring.
1 parentba88964 commitd6b8c46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/parser/dbcscanner.cpp‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ DbcScanner::~DbcScanner()
3636
int32_tDbcScanner::TrimDbcText(istream& readstrm)
3737
{
3838
msgs.clear();
39-
39+
40+
readstrm.clear();
41+
readstrm.seekg(0);
4042
// Search each message and signals in dbc source data,
4143
// and fill @msgs collection
4244
ParseMessageInfo(readstrm);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp