Skip to content

Commit 7728f95

Browse files
committed
candidate workaround for visual studio loss of cv qualifier bug
1 parent ca9906e commit 7728f95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/sharing_map.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ SHARING_MAPT2(, size_type)::erase_all(
673673
/// (possible values `false` or `unknown`)
674674
/// \return Pair of const reference to existing or newly inserted element, and
675675
/// boolean indicating if new element was inserted
676-
SHARING_MAPT2(, const_find_type)::insert(
676+
SHARING_MAPT2(const, const_find_type)::insert(
677677
const key_type &k,
678678
const mapped_type &m,
679679
const tvt &key_exists)
@@ -697,7 +697,7 @@ SHARING_MAPT2(, const_find_type)::insert(
697697
}
698698

699699
// Insert element, return const reference
700-
SHARING_MAPT2(, const_find_type)::insert(
700+
SHARING_MAPT2(const, const_find_type)::insert(
701701
const value_type &p,
702702
const tvt &key_exists)
703703
{

0 commit comments

Comments
 (0)