summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pam_xdg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pam_xdg.cpp b/src/pam_xdg.cpp
index 440b29c..6b0278c 100644
--- a/src/pam_xdg.cpp
+++ b/src/pam_xdg.cpp
@@ -16,8 +16,8 @@
namespace pam_xdg {
-constexpr const std::string_view USER_DIRECTORY = "/run/user";
-constexpr const std::string_view DB_PATH = "/run/pam_xdg.db";
+constexpr std::string_view USER_DIRECTORY = "/run/user";
+constexpr std::string_view DB_PATH = "/run/pam_xdg.db";
void open_db(sqlite3 **db, const std::filesystem::path &path, int flags) {
auto rc = sqlite3_open_v2(path.c_str(), db, flags, nullptr);