Skip to content

Commit

Permalink
Fix build for VS2015 (microsoft#10126)
Browse files Browse the repository at this point in the history
* Add missing constructors for TexRowCol required by VS2015

* Make TextRowCol() constexpr and noexcept
  • Loading branch information
vicroms authored Feb 20, 2020
1 parent 9db90b3 commit ef60f1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolsrc/include/vcpkg/textrowcol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ef60f1d

Please sign in to comment.