@@ -58,9 +58,9 @@ template <typename T1, typename T2>
5858class Map ;
5959
6060template <typename T1, typename T2>
61- void dataStore (std::ostream & stream, Map<T1, T2> & map, void * context);
61+ void dataStore (std::ostream & stream, Map<T1, T2> & map, std::any context);
6262template <typename T1, typename T2>
63- void dataLoad (std::istream & stream, Map<T1, T2> & map, void * context);
63+ void dataLoad (std::istream & stream, Map<T1, T2> & map, std::any context);
6464
6565/* *
6666 * The Kokkos wrapper class for standard map.
@@ -231,8 +231,8 @@ class Map
231231 */
232232 Array<dof_id_type> _offset;
233233
234- friend void dataStore<T1, T2>(std::ostream &, Map<T1, T2> &, void * );
235- friend void dataLoad<T1, T2>(std::istream &, Map<T1, T2> &, void * );
234+ friend void dataStore<T1, T2>(std::ostream &, Map<T1, T2> &, std::any );
235+ friend void dataLoad<T1, T2>(std::istream &, Map<T1, T2> &, std::any );
236236};
237237
238238#ifdef MOOSE_KOKKOS_SCOPE
@@ -318,7 +318,7 @@ Map<T1, T2>::find(const T1 & key) const
318318
319319template <typename T1, typename T2>
320320void
321- dataStore (std::ostream & stream, Map<T1, T2> & map, void * context)
321+ dataStore (std::ostream & stream, Map<T1, T2> & map, std::any context)
322322{
323323 using ::dataStore;
324324
@@ -330,7 +330,7 @@ dataStore(std::ostream & stream, Map<T1, T2> & map, void * context)
330330
331331template <typename T1, typename T2>
332332void
333- dataLoad (std::istream & stream, Map<T1, T2> & map, void * context)
333+ dataLoad (std::istream & stream, Map<T1, T2> & map, std::any context)
334334{
335335 using ::dataLoad;
336336
0 commit comments