Skip to content

Commit 6b2e5e1

Browse files
committed
Disable warnings in libsshnet
1 parent e47dc98 commit 6b2e5e1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: libsshnet/libsshnet.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
#include "stdafx.h"
44

5-
#include "libsshnet.h"
6-
75
namespace npcook {
86
namespace libsshnet {
97
Session::Session()

Diff for: libsshnet/libsshnet.h

+4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44

55
#pragma managed(push, off)
66

7+
#pragma warning(push)
8+
#pragma warning(disable: 4267)
9+
710
#include "libssh/libsshpp.hpp"
811

12+
#pragma warning(pop)
913
#pragma managed(pop)
1014

1115
using namespace System;

0 commit comments

Comments
 (0)