Skip to content

Commit

Permalink
Update hyperion_platform dependency to 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
braxtons12 committed Jun 16, 2024
1 parent ff4e1e9 commit a53862c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ endif()
if(${HYPERION_USE_FETCH_CONTENT})
FetchContent_Declare(hyperion_platform
GIT_REPOSITORY "https://github.com/braxtons12/hyperion_platform"
GIT_TAG "v0.4.0"
GIT_TAG "v0.4.1"
)
FetchContent_MakeAvailable(hyperion_platform)
else()
Expand Down
10 changes: 0 additions & 10 deletions include/hyperion/mpl/list.h
Original file line number Diff line number Diff line change
Expand Up @@ -1699,16 +1699,6 @@ namespace hyperion::mpl {
constexpr auto extend_constexpr_lifetime([[maybe_unused]] const TType& value) {
return TType{};
}
#else
///// @brief Used to extend the lifetime of the given value in a `constexpr` context.
///// MSVC can be bad about assuming an object's lifetime has ended in `constexpr`
///// contexts when it really hasn't.
/////
///// This provides usage consistency w/ the hack used for MSVC.
//template<typename TType>
//constexpr auto extend_constexpr_lifetime(TType&& value) -> decltype(auto) {
// return std::forward<TType>(value);
//}
#endif // HYPERION_PLATFORM_COMPILER_IS_MSVC

/// @brief Statically stack-allocated vector containing elements of type `TType`,
Expand Down

0 comments on commit a53862c

Please sign in to comment.