X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=libstdc%2B%2B-v3%2Finclude%2Fext%2Fpb_ds%2Fdetail%2Fgp_hash_table_map_%2Fconstructor_destructor_no_store_hash_fn_imps.hpp;h=80235646d7d48ee3850beee3bab6380a27b75501;hb=99dee82307f1e163e150c9c810452979994047ce;hp=74b6576c64e8027c7e9d4370404ebdd6fed22d24;hpb=cbe34bb5edd97015e38c483516492f171bf9f95d;p=thirdparty%2Fgcc.git diff --git a/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp b/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp index 74b6576c64e8..80235646d7d4 100644 --- a/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp +++ b/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_no_store_hash_fn_imps.hpp @@ -1,6 +1,6 @@ // -*- C++ -*- -// Copyright (C) 2005-2017 Free Software Foundation, Inc. +// Copyright (C) 2005-2021 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the terms @@ -39,6 +39,8 @@ * and related functions. */ +#ifdef PB_DS_CLASS_C_DEC + PB_DS_CLASS_T_DEC inline void PB_DS_CLASS_C_DEC:: @@ -51,3 +53,4 @@ constructor_insert_new_imp(mapped_const_reference r_val, size_type pos, p_e->m_stat = valid_entry_status; _GLIBCXX_DEBUG_ONLY(debug_base::insert_new(p_e->m_value.first);) } +#endif