THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#214 - Implement naming rules for class names
User who did this - Christoph GrĂ¼ninger (gruenich)
----------
I did not succeed with the deprecation warning. Neither Clang 3.3, GCC 4.7 nor
4.8 emitted a warning in various constellations. Nevertheless it might look
like this:
Index: freeflow/stokes2c/stokes2cindices.hh
===================================================================
--- freeflow/stokes2c/stokes2cindices.hh (revision 11903)
+++ freeflow/stokes2c/stokes2cindices.hh (working copy)
@@ -38,7 +38,7 @@
* \\tparam PVOffset The first index in a primary variable vector.
*/
template <class TypeTag, int PVOffset = 0>
-struct Stokes2cCommonIndices : public StokesCommonIndices<TypeTag>
+struct StokesTwoCCommonIndices : public StokesCommonIndices<TypeTag>
{
// Phase index
static const int phaseIdx = GET_PROP_VALUE(TypeTag, PhaseIdx); //!< Index
of the employed phase in case of a two-phase fluidsystem (set by default to
nPhase)
@@ -53,6 +53,12 @@
static const int massOrMoleFracIdx = transportEqIdx; //!< The index of the
mass or mole fraction of the transported component in primary variable vectors
};
+
+template <class TypeTag, int PVOffset=0>
+using Stokes2cCommonIndices
+DUNE_DEPRECATED_MSG(\"Use StokesTwoCCommonIndices instead\")
+ = StokesTwoCCommonIndices<TypeTag, PVOffset>;
+
} // end namespace
#endif
----------
More information can be found at the following URL:
http://www.dumux.org/flyspray/index.php?do=details&task_id=214#comment391
You are receiving this message because you have requested it from the Flyspray
bugtracking system. If you did not expect this message or don't want to
receive mails in future, you can change your notification settings at the URL
shown above.
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux