Skip to content

Commit 19a85f1

Browse files
committed
fix type hashing
1 parent 396155a commit 19a85f1

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

test/common/type_name.h

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/variant/variant.visit/forwarding_visitor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#pragma once
22
#include <gtest/gtest.h>
3-
#include <common/type_name.h>
43
#include <common/qualifiers.h>
54

65
template <typename T>
76
constexpr std::string_view hash_type() {
8-
return nameof<T>;
7+
// TODO: use __FUNCSIG__ for MSVC
8+
return __PRETTY_FUNCTION__;
99
}
1010

1111
template <std::size_t N>

0 commit comments

Comments
 (0)