[users] Need <memory> for unique_ptr

- Although unique_ptr is only used when ICU is enabled, include it
  always because it is likely that we'll use more unique_ptr
  in the implementation at some point.
This commit is contained in:
Adriaan de Groot 2021-02-02 13:38:52 +01:00
parent e99c60728b
commit a383aa974a

View File

@ -36,6 +36,8 @@ static const char TRANSLITERATOR_ID[] = "Russian-Latin/BGN;"
"Latin-ASCII"; "Latin-ASCII";
#endif #endif
#include <memory>
static const QRegExp USERNAME_RX( "^[a-z_][a-z0-9_-]*[$]?$" ); static const QRegExp USERNAME_RX( "^[a-z_][a-z0-9_-]*[$]?$" );
static constexpr const int USERNAME_MAX_LENGTH = 31; static constexpr const int USERNAME_MAX_LENGTH = 31;