Skip to content

Commit 56aa51a

Browse files
committed
Fixing build
1 parent ef24b46 commit 56aa51a

File tree

2 files changed

+4
-75
lines changed

2 files changed

+4
-75
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

include/VX/vx_corevx_ext.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@
1010
#ifndef VX_COREVX_EXT_H
1111
#define VX_COREVX_EXT_H
1212

13-
#include <string>
14-
1513
#include <VX/vx_kernels.h>
1614
#include <VX/vx_types.h>
1715

16+
#ifdef __cplusplus
17+
#include <string>
18+
1819
/*! \brief A character array (string) type.
1920
* \note This is a C++ string type. It is not a C string.
2021
* \ingroup group_basic_features
2122
*/
2223
using vx_string = std::string;
24+
#endif /* __cplusplus */
2325

2426
/*! \brief The type enumeration lists additional types to extend the known types in OpenVX.
2527
* \ingroup group_basic_features

0 commit comments

Comments
 (0)