aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/tests.utils.h
diff options
context:
space:
mode:
authormyd7349 <myd7349@gmail.com>2019-07-02 18:13:44 +0800
committermyd7349 <myd7349@gmail.com>2019-07-02 18:13:44 +0800
commit086c72777369e9a8db0a58e4ad43360b3b613c78 (patch)
tree240047d021f2e08af14d58b8a6a5db4b6f0fda60 /toolsrc/include/tests.utils.h
parent3efdcef0e62aa6df7ff9088c001cff8d47304386 (diff)
parentf15d52becf620a0b234b4b7735579b5415f8d7b7 (diff)
downloadvcpkg-086c72777369e9a8db0a58e4ad43360b3b613c78.tar.gz
vcpkg-086c72777369e9a8db0a58e4ad43360b3b613c78.zip
Merge branch 'master' into rdkafka-init
Diffstat (limited to 'toolsrc/include/tests.utils.h')
-rw-r--r--toolsrc/include/tests.utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolsrc/include/tests.utils.h b/toolsrc/include/tests.utils.h
index 7f7ec9e88..3e8514e67 100644
--- a/toolsrc/include/tests.utils.h
+++ b/toolsrc/include/tests.utils.h
@@ -13,7 +13,7 @@
namespace Microsoft::VisualStudio::CppUnitTestFramework
{
template<>
- std::wstring ToString<vcpkg::Dependencies::InstallPlanType>(const vcpkg::Dependencies::InstallPlanType& t)
+ inline std::wstring ToString<vcpkg::Dependencies::InstallPlanType>(const vcpkg::Dependencies::InstallPlanType& t)
{
switch (t)
{
@@ -26,7 +26,7 @@ namespace Microsoft::VisualStudio::CppUnitTestFramework
}
template<>
- std::wstring ToString<vcpkg::Dependencies::RequestType>(const vcpkg::Dependencies::RequestType& t)
+ inline std::wstring ToString<vcpkg::Dependencies::RequestType>(const vcpkg::Dependencies::RequestType& t)
{
switch (t)
{
@@ -38,13 +38,13 @@ namespace Microsoft::VisualStudio::CppUnitTestFramework
}
template<>
- std::wstring ToString<vcpkg::PackageSpecParseResult>(const vcpkg::PackageSpecParseResult& t)
+ inline std::wstring ToString<vcpkg::PackageSpecParseResult>(const vcpkg::PackageSpecParseResult& t)
{
return ToString(static_cast<uint32_t>(t));
}
template<>
- std::wstring ToString<vcpkg::PackageSpec>(const vcpkg::PackageSpec& t)
+ inline std::wstring ToString<vcpkg::PackageSpec>(const vcpkg::PackageSpec& t)
{
return ToString(t.to_string());
}