We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10cfbdd + d1bf1fe commit c0cf044Copy full SHA for c0cf044
1 file changed
include/ghosting/ghosting_functor.h
@@ -213,10 +213,12 @@ class GhostingFunctor : public ReferenceCountedObject<GhostingFunctor>
213
* different meshes. The operations in GhostingFunctor are mesh dependent.
214
*/
215
virtual std::unique_ptr<GhostingFunctor> clone () const
216
- // Let us return nullptr for backward compatibility.
217
- // We will come back to mark this function as pure virtual
218
- // once the API upgrade is done.
219
- { return nullptr; }
+#ifndef LIBMESH_ENABLE_DEPRECATED
+ = 0;
+#else
+ // Return nullptr for backward compatibility.
220
+ { libmesh_deprecated(); return nullptr; }
221
+#endif
222
223
/**
224
* It should be called after cloning a ghosting functor.
0 commit comments