Skip to content

Commit f0293be

Browse files
committed
Fix extern variable in Windows
1 parent a05e6d0 commit f0293be

File tree

3 files changed

+3
-14
lines changed

3 files changed

+3
-14
lines changed

sources/Core/CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
set(CORE_SRC
66
src/Block.cpp
7-
src/BlockInformation.cpp
87
src/Log.cpp
98
src/Parameter.cpp
109
src/Parameters.cpp

sources/Core/include/BlockFactory/Core/BlockInformation.h

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ namespace blockfactory {
2727
using OutputPortsInfo = std::vector<Port::Info>;
2828
using InputSignalPtr = std::shared_ptr<const blockfactory::core::Signal>;
2929
using OutputSignalPtr = std::shared_ptr<blockfactory::core::Signal>;
30-
// List of possible key for defining block options:
31-
extern const std::string BlockOptionPrioritizeOrder;
30+
31+
// List of possible keys for defining block options:
32+
const std::string BlockOptionPrioritizeOrder = "wbt.BlockOptionPrioritizeOrder";
3233
} // namespace core
3334
} // namespace blockfactory
3435

sources/Core/src/BlockInformation.cpp

-11
This file was deleted.

0 commit comments

Comments
 (0)