mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Remove pre-C++17 shims (#1752)
Now that all compilers support C++17, remove some old C++14/C++17 shims.
This commit is contained in:
@@ -298,7 +298,7 @@ inline ErrorSuccess Error::success() { return ErrorSuccess(); }
|
||||
/// Make a Error instance representing failure using the given error info
|
||||
/// type.
|
||||
template <typename ErrT, typename... ArgTs> Error make_error(ArgTs &&... Args) {
|
||||
return Error(wpi::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
|
||||
return Error(std::make_unique<ErrT>(std::forward<ArgTs>(Args)...));
|
||||
}
|
||||
|
||||
/// Base class for user error types. Users should declare their error types
|
||||
|
||||
Reference in New Issue
Block a user