1
1
mirror of https://github.com/trafi/maybe-result-cpp synced 2024-11-26 04:26:06 +01:00

Remove unused helper.

This commit is contained in:
Nerijus Arlauskas 2016-07-10 01:42:59 +03:00
parent 84c918bdd7
commit 5d4320f76a

@ -12,8 +12,8 @@
#include "result.fwd.hpp"
#include <optional.hpp>
#include <string>
#include <optional.hpp>
namespace maybe {
namespace internal {
@ -21,12 +21,6 @@ namespace maybe {
};
}
template <class T>
inline constexpr typename std::remove_reference<T>::type&& mr_constexpr_move(T&& t) noexcept
{
return static_cast<typename std::remove_reference<T>::type&&>(t);
}
template <typename T, typename E>
class result final {
private: