Skip to content

Commit

Permalink
Visual Studio 16.8.3 でのコンパイル時警告を回避
Browse files Browse the repository at this point in the history
  • Loading branch information
magicant committed Dec 27, 2020
1 parent 66fca53 commit 657ef2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bve-autopilot/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ namespace autopilot
自動ノッチ = 自動制御指令{};
}

ATS_HANDLES ハンドル位置;
ATS_HANDLES ハンドル位置{};
ハンドル位置.Brake = 出力制動指令(
_状態.入力制動ノッチ(), 自動ノッチ.制動成分(), _状態.制動()).value;
if (_状態.入力力行ノッチ() >= 0) {
Expand All @@ -252,7 +252,7 @@ namespace autopilot

_状態.出力(ハンドル位置);

for (auto パネル出力 : _状態.設定().パネル出力対象登録簿()) {
for (auto &パネル出力 : _状態.設定().パネル出力対象登録簿()) {
出力値[パネル出力.first] = パネル出力.second.出力(*this);
}

Expand Down

0 comments on commit 657ef2d

Please sign in to comment.