Browse Source

Fix C++20 compile error

pull/1926/head
duckdoom5 4 months ago
parent
commit
887e4e4e12
  1. 3
      include/CppSharp.h

3
include/CppSharp.h

@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
//
// Licensed under the MIT license
// ------------------------------------------------------------------------------------------- //
// clang-format off
#pragma once
#if defined(__cplusplus_cli)
@ -293,7 +294,7 @@ namespace clix { @@ -293,7 +294,7 @@ namespace clix {
/// <param name="string">String to be marshalled to the other side</param>
/// <returns>The marshaled representation of the string</returns>
template<Encoding encoding, typename SourceType, class ResultType =
typename detail::IfManaged<SourceType>::Select::Either<
typename detail::IfManaged<SourceType>::Select::template Either<
typename detail::StringTypeSelector<encoding>::Type,
System::String^>::Type
>

Loading…
Cancel
Save