lib/nfs/Error: include cleanup
This commit is contained in:
parent
bf9dd24536
commit
b81cac3305
@ -11,8 +11,6 @@ extern "C" {
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
static auto
|
||||
FormatNfsClientError(struct nfs_context *nfs, const char *msg) noexcept
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user