diff options
| author | 2026-03-26 22:24:16 +0000 | |
|---|---|---|
| committer | 2026-03-26 22:24:16 +0000 | |
| commit | cd2d667ca7d3d31dbcf1f3bf0717b744b11ec776 (patch) | |
| tree | 2d510e98b89d9fb7a74b7ed44dede89ef5d3b50e /include/modules/sql.h | |
| parent | Merge branch 'insp4' into master. (diff) | |
Switch typedefs to using statements.
Diffstat (limited to 'include/modules/sql.h')
| -rw-r--r-- | include/modules/sql.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h index be2cf0005..beb37e233 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -30,16 +30,16 @@ namespace SQL class Result; /** A list of parameter replacement values. */ - typedef std::vector<std::string> ParamList; + using ParamList = std::vector<std::string>; /** A map of parameter replacement values. */ - typedef std::map<std::string, std::string> ParamMap; + using ParamMap = std::map<std::string, std::string>; /** A single SQL field. */ - typedef std::optional<std::string> Field; + using Field = std::optional<std::string>; /** A list of SQL fields from a specific row. */ - typedef std::vector<Field> Row; + using Row = std::vector<Field>; /** An enumeration of possible error codes. */ enum ErrorCode |
