mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Replace std::make_pair with std::pair CTAD (#7405)
This commit is contained in:
@@ -83,7 +83,7 @@ class WPILibCameraServerShared : public frc::CameraServerShared {
|
||||
ReportErrorV(err::Error, __FILE__, __LINE__, __FUNCTION__, format, args);
|
||||
}
|
||||
std::pair<std::thread::id, bool> GetRobotMainThreadId() const override {
|
||||
return std::make_pair(RobotBase::GetThreadId(), true);
|
||||
return std::pair{RobotBase::GetThreadId(), true};
|
||||
}
|
||||
};
|
||||
class WPILibMathShared : public wpi::math::MathShared {
|
||||
|
||||
Reference in New Issue
Block a user