mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 14:07:29 +08:00
Fix build for VS2015 (#10126)
* Add missing constructors for TexRowCol required by VS2015 * Make TextRowCol() constexpr and noexcept
This commit is contained in:
parent
9db90b397d
commit
ef60f1d9b9
@ -4,6 +4,8 @@ namespace vcpkg::Parse
|
||||
{
|
||||
struct TextRowCol
|
||||
{
|
||||
constexpr TextRowCol() noexcept = default;
|
||||
constexpr TextRowCol(int row, int column) noexcept : row(row), column(column) {}
|
||||
/// '0' indicates uninitialized; '1' is the first row.
|
||||
int row = 0;
|
||||
/// '0' indicates uninitialized; '1' is the first column.
|
||||
|
Loading…
Reference in New Issue
Block a user