Skip to content

Commit

Permalink
Make Exception and KafkaAdapterManager public vis
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Glustein <[email protected]>
  • Loading branch information
AdamGlustein committed Nov 11, 2024
1 parent 9168324 commit 7e1f337
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
strategy:
matrix:
os:
- ubuntu-24.04
- macos-14
- macos-12
# - ubuntu-24.04
# - macos-14
# - macos-12
- windows-2019
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion cpp/csp/adapters/kafka/KafkaAdapterManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct KafkaStatusMessageTypeTraits
using KafkaStatusMessageType = csp::Enum<KafkaStatusMessageTypeTraits>;

//Top level AdapterManager object for all kafka adapters in the engine
class CSPKAFKAADAPTERIMPL_EXPORT KafkaAdapterManager final : public csp::AdapterManager
class CSP_PUBLIC KafkaAdapterManager final : public csp::AdapterManager
{
public:
KafkaAdapterManager( csp::Engine * engine, const Dictionary & properties );
Expand Down
2 changes: 1 addition & 1 deletion cpp/csp/core/Exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace csp
{

class CSPCORE_EXPORT Exception : public std::exception
class CSP_PUBLIC Exception : public std::exception
{
public:
Exception( const char * exType, const std::string & description, const char * file, const char * func, int line ) :
Expand Down
1 change: 1 addition & 0 deletions cpp/csp/engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ generate_export_header(csp_types
EXPORT_MACRO_NAME CSPTYPES_EXPORT
)
set_target_properties(csp_types PROPERTIES PUBLIC_HEADER "${CSP_TYPES_PUBLIC_HEADERS}")
target_link_libraries(csp_types csp_core)

add_library(csp_engine STATIC ${ENGINE_SOURCE_FILES})
generate_export_header(csp_engine
Expand Down
2 changes: 1 addition & 1 deletion cpp/csp/engine/TimeSeries.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class CSPENGINE_EXPORT TimeSeries
{
public:
// Should match the DuplicatePolicy enum in python!!!
struct DuplicatePolicyTraits {
struct CSPENGINE_EXPORT DuplicatePolicyTraits {
enum _enum : uint8_t {
UNKNOWN = 0,
LAST_VALUE = 1,
Expand Down

0 comments on commit 7e1f337

Please sign in to comment.