aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/cstring_view.h
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-01 02:08:48 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-01 02:08:48 -0700
commitbb865fb312d9f603a18a40768ae357da0421905d (patch)
tree1bb1e4336afcf7962646e7087b235c3992fb634a /toolsrc/include/cstring_view.h
parent05c9f77a4ae72b8339b027ccbe5a769fc627fe87 (diff)
downloadvcpkg-bb865fb312d9f603a18a40768ae357da0421905d.tar.gz
vcpkg-bb865fb312d9f603a18a40768ae357da0421905d.zip
[vcpkg] Merge search for dumpbin and toolchain (they are the same).
Diffstat (limited to 'toolsrc/include/cstring_view.h')
-rw-r--r--toolsrc/include/cstring_view.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/include/cstring_view.h b/toolsrc/include/cstring_view.h
index 88728992b..92f1a6fa5 100644
--- a/toolsrc/include/cstring_view.h
+++ b/toolsrc/include/cstring_view.h
@@ -6,6 +6,7 @@ namespace vcpkg
template<class CharType>
struct basic_cstring_view
{
+ constexpr basic_cstring_view() : cstr(nullptr) {}
constexpr basic_cstring_view(const CharType* cstr) : cstr(cstr) {}
basic_cstring_view(const std::basic_string<CharType>& str) : cstr(str.c_str()) {}