Include utility header in autoreset.hpp for std::move

This commit is contained in:
Nathan Lanza 2021-06-07 01:48:02 -04:00 committed by Arthur Sonzogni
parent 2445dc03d3
commit a24abdae19

View File

@ -1,6 +1,8 @@
#ifndef FTXUI_UTIL_AUTORESET_HPP #ifndef FTXUI_UTIL_AUTORESET_HPP
#define FTXUI_UTIL_AUTORESET_HPP #define FTXUI_UTIL_AUTORESET_HPP
#include <utility>
namespace ftxui { namespace ftxui {
/// Assign a value to a variable, reset its old value when going out of scope. /// Assign a value to a variable, reset its old value when going out of scope.