Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions include/ghosting/ghosting_functor.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,12 @@ class GhostingFunctor : public ReferenceCountedObject<GhostingFunctor>
* different meshes. The operations in GhostingFunctor are mesh dependent.
*/
virtual std::unique_ptr<GhostingFunctor> clone () const
// Let us return nullptr for backward compatibility.
// We will come back to mark this function as pure virtual
// once the API upgrade is done.
{ return nullptr; }
#ifndef LIBMESH_ENABLE_DEPRECATED
= 0;
#else
// Return nullptr for backward compatibility.
{ libmesh_deprecated(); return nullptr; }
#endif

/**
* It should be called after cloning a ghosting functor.
Expand Down