From 694c44bbecef54fbd6c933df14c6dc6593283d1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Tue, 29 Mar 2022 14:54:59 -0400 Subject: [PATCH] value: use namespace std::literals --- include/opendht/value.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/opendht/value.h b/include/opendht/value.h index 43f2f753..2298a57f 100644 --- a/include/opendht/value.h +++ b/include/opendht/value.h @@ -43,8 +43,9 @@ #endif namespace dht { +using namespace std::literals; -static const std::string VALUE_KEY_ID("id"); +static constexpr auto VALUE_KEY_ID("id"); static const std::string VALUE_KEY_DAT("dat"); static const std::string VALUE_KEY_PRIO("p"); static const std::string VALUE_KEY_SIGNATURE("sig"); -- GitLab