Skip to content

Commit

Permalink
compile
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos committed Jan 28, 2024
1 parent 6b26941 commit eb95954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rest_rpc/cplusplus_14.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ template <class T, size_t N> struct unique_if<T[N]> {

template <class T, class... Args>
typename unique_if<T>::single_object make_unique(Args &&...args) {
return std::unique_ptr<T>(new T(forward<Args>(args)...));
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}

template <class T> typename unique_if<T>::unknown_bound make_unique(size_t n) {
Expand Down

0 comments on commit eb95954

Please sign in to comment.