SSH: CLANG warning is fixed.

git-svn-id: svn://ultimatepp.org/upp/trunk@13654 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
oblivion 2019-10-22 12:18:24 +00:00
parent d7a75750b8
commit 2833b2a9db
5 changed files with 0 additions and 16 deletions

View file

@ -45,7 +45,6 @@ public:
virtual ~SshChannel();
SshChannel(SshChannel&&) = default;
SshChannel& operator=(SshChannel&&) = default;
protected:
bool Init() override;
@ -107,7 +106,6 @@ public:
virtual ~SshTunnel() { Exit(); }
SshTunnel(SshTunnel&&) = default;
SshTunnel& operator=(SshTunnel&&) = default;
private:
void Exit() override;
@ -145,7 +143,6 @@ public:
virtual ~SshShell();
SshShell(SshShell&&) = default;
SshShell& operator=(SshShell&&) = default;
protected:
void ReadWrite(String& in, const void* out, int out_len) override;

View file

@ -24,7 +24,6 @@ public:
virtual ~Ssh();
Ssh(Ssh&&) = default;
Ssh& operator=(Ssh&&) = default;
struct Error : Exc {
int code;

View file

@ -145,7 +145,6 @@ public:
virtual ~SFtp();
SFtp(SFtp&&) = default;
SFtp& operator=(SFtp&&) = default;
private:
bool Init() override;

View file

@ -41,20 +41,10 @@ class SshTunnel;
class SshShell;
class SshHosts;
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdefaulted-function-deleted" // FIXME: Temporary suppression.
#endif
#include "Core.h"
#include "Session.h"
#include "SFtp.h"
#include "Channels.h"
#include "Hosts.h"
#ifdef __clang__
#pragma clang diagnostic pop
#endif
}
#endif

View file

@ -68,7 +68,6 @@ public:
virtual ~SshSession();
SshSession(SshSession&&) = default;
SshSession& operator=(SshSession&&) = default;
// DEPRECATED stuff. Use GetxxxFingerprint() methods instead.
enum Hash { HASH_MD5, HASH_SHA1, HASH_SHA256 };