mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
Replace typedefs in C++ with using declarations (#1339)
These are more readable than typedefs. C headers were left alone.
This commit is contained in:
committed by
Peter Johnson
parent
26c33a9a56
commit
8b1274d744
@@ -31,7 +31,7 @@ class ErrorBase;
|
||||
*/
|
||||
class Error {
|
||||
public:
|
||||
typedef int Code;
|
||||
using Code = int;
|
||||
|
||||
Error() = default;
|
||||
Error(Code code, const wpi::Twine& contextMessage, wpi::StringRef filename,
|
||||
|
||||
Reference in New Issue
Block a user