Commit 6c251344 authored by Timo Koch's avatar Timo Koch
Browse files

[cleanup] Deprecate Dumux::Optional and optional.hh

parent 9ee1495d
......@@ -26,6 +26,7 @@
#ifndef DUMUX_COMMON_OPTIONAL_HH
#define DUMUX_COMMON_OPTIONAL_HH
#warning "This header is deprecated and will be removed after release 3.2"
#include <utility>
#include <dune/common/typeutilities.hh>
......@@ -38,7 +39,7 @@ namespace Dumux {
* \tparam T Type of wrapped objects
*/
template<class T>
class Optional
class [[deprecated("Optional is deprecated (removed after 3.2); use std::optional")]] Optional
{
public:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment