lib/nfs/Error: include cleanup

This commit is contained in:
Max Kellermann 2023-10-04 23:12:29 +02:00
parent bf9dd24536
commit b81cac3305
2 changed files with 1 additions and 6 deletions

View File

@ -11,8 +11,6 @@ extern "C" {
#include <cassert>
#include <string.h>
static auto
FormatNfsClientError(struct nfs_context *nfs, const char *msg) noexcept
{

View File

@ -2,8 +2,7 @@
// Copyright CM4all GmbH
// author: Max Kellermann <mk@cm4all.com>
#ifndef NFS_ERROR_HXX
#define NFS_ERROR_HXX
#pragma once
#include <stdexcept>
@ -26,5 +25,3 @@ public:
return code;
}
};
#endif