aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2020-02-12 15:50:39 -0800
committerRobert Schumacher <roschuma@microsoft.com>2020-02-12 15:50:39 -0800
commite21400c7cae2c2df3a9dce6ef8e3c4bf7109aaac (patch)
tree85adc7ad9cd7d76a9b50304554e278e45b578609 /toolsrc/include
parentb9273daa2049b1cf51976806a5f6848145ae0aa6 (diff)
downloadvcpkg-e21400c7cae2c2df3a9dce6ef8e3c4bf7109aaac.tar.gz
vcpkg-e21400c7cae2c2df3a9dce6ef8e3c4bf7109aaac.zip
[vcpkg] Fix VS2015 compile
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/textrowcol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/textrowcol.h b/toolsrc/include/vcpkg/textrowcol.h
index 5bbf6a899..cd2b223e2 100644
--- a/toolsrc/include/vcpkg/textrowcol.h
+++ b/toolsrc/include/vcpkg/textrowcol.h
@@ -4,6 +4,8 @@ namespace vcpkg::Parse
{
struct TextRowCol
{
+ TextRowCol() = default;
+ TextRowCol(int row, int column) : row(row), column(column) {}
/// '0' indicates uninitialized; '1' is the first row.
int row = 0;
/// '0' indicates uninitialized; '1' is the first column.