Skip to content

Commit

Permalink
Suppress known warnings on Visual C++
Browse files Browse the repository at this point in the history
kazssym committed Dec 25, 2020
1 parent 268fed4 commit 7076200
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libvm68kapi/bits/vm68k/device_manager.h
Original file line number Diff line number Diff line change
@@ -26,6 +26,11 @@

namespace vm68k
{
#if _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4251)
#endif

/**
* Device managers.
*/
@@ -105,6 +110,10 @@ namespace vm68k
void add_device(const std::shared_ptr<device> &d);
};

#if _MSC_VER
#pragma warning(pop)
#endif

/**
* Swaps the contents of two device managers.
*/

0 comments on commit 7076200

Please sign in to comment.