Skip to content

Commit 03cb68e

Browse files
Merge pull request #1680 from rms7326/export-vsg-exception
Add missing export to vsg::Exception struct
2 parents 59b1349 + baa02a0 commit 03cb68e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/vsg/core/Exception.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
1212
1313
</editor-fold> */
1414

15+
#include <vsg/core/Export.h>
16+
1517
#include <string>
1618

1719
namespace vsg
1820
{
1921

2022
/// Exception object that can be thrown from VSG code, such as failed Vulkan calls where the result value will be the VkResult value
2123
/// returned from failed Vulkan call.
22-
struct Exception
24+
struct VSG_DECLSPEC Exception
2325
{
2426
std::string message;
2527
int result = 0;

0 commit comments

Comments
 (0)