Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide authored Apr 18, 2024
1 parent 3686584 commit 299874d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ endif()

if (BTCPP_SHARED_LIBS)
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
add_library(${BTCPP_LIBRARY} SHARED ${BT_SOURCE}
src/decorators/wait_update.cpp)
add_library(${BTCPP_LIBRARY} SHARED ${BT_SOURCE})
else()
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
add_library(${BTCPP_LIBRARY} STATIC ${BT_SOURCE})
Expand Down
2 changes: 2 additions & 0 deletions include/behaviortree_cpp/basic_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,9 @@ using Result = Expected<std::monostate>;

struct Timestamp
{
// Number being incremented every time a new value is written
uint64_t seq = 0;
// Last update time. Nanoseconds since epoch
std::chrono::nanoseconds time = std::chrono::nanoseconds(0);
};

Expand Down

0 comments on commit 299874d

Please sign in to comment.