Skip to content

Commit

Permalink
fixed DarthTon#352: cpp conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthTon committed Jun 7, 2019
1 parent 5fa8c49 commit 25d5d49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/BlackBone/ManualMap/MMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ NTSTATUS MMap::ProbeRemoteSxS( std::wstring& path )
auto memPtr = memBuf->ptr();
auto fillStr = [&]( auto&& OriginalName )
{
std::remove_reference<decltype(OriginalName)>::type DllName1 = { 0 };
std::remove_reference_t<decltype(OriginalName)> DllName1 = { 0 };

OriginalName.Length = static_cast<uint16_t>(path.length() * sizeof( wchar_t ));
OriginalName.MaximumLength = OriginalName.Length;
Expand Down
4 changes: 0 additions & 4 deletions src/BlackBoneTest/TestAsmJit.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#include "Common.h"

namespace Microsoft::VisualStudio::CppUnitTestFramework {
template<> inline std::wstring ToString<__int64>( const __int64& t ) { RETURN_WIDE_STRING( t ); }
}

namespace Testing
{
TEST_CLASS( AsmJIT )
Expand Down

0 comments on commit 25d5d49

Please sign in to comment.