Skip to content

use [[deprecated]] instead of DUNE_DEPRECATED_MSG

[[deprecated]] is standardized since C++14, and DUNE_DEPRECATED_MSG will probably be removed from dune-common at some point.

In addition, the intel compiler (tested version 2021.1 Beta) fails to compile code like

using Grid0LocalGeometry DUNE_DEPRECATED_MSG("please use GridLocalGeometry<0> instead") = GridLocalGeometry<0>;

for some reason, which is why I created this PR.

Edited by Tobias Leibner

Merge request reports