From 63920be17e2d23a3feb9d95bde4d6037540f7aad Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 May 2024 16:55:53 +0200 Subject: [PATCH] lib/nfs/Connection: make `server` and `export_name` const --- src/lib/nfs/Connection.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/nfs/Connection.hxx b/src/lib/nfs/Connection.hxx index fc9e4eb35..ad2756fe8 100644 --- a/src/lib/nfs/Connection.hxx +++ b/src/lib/nfs/Connection.hxx @@ -80,7 +80,7 @@ class NfsConnection { DeferEvent defer_new_lease; CoarseTimerEvent mount_timeout_event; - std::string server, export_name; + const std::string server, export_name; nfs_context *context;