Skip to content

Commit 874fe66

Browse files
committed
new attribute
1 parent 8d6ef28 commit 874fe66

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

api/dsr_agent_info_api.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
namespace DSR {
1313

1414
namespace {
15-
struct PipeCloser {
15+
struct PipeCloser
16+
{
1617
void operator()(FILE *pipe) const
1718
{
1819
if (pipe != nullptr)

core/include/dsr/core/types/type_checking/dsr_attr_name.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ REGISTER_TYPE(scalez, int, false)
118118
REGISTER_TYPE(path, std::reference_wrapper<const std::string>, false)
119119
REGISTER_TYPE(name, std::reference_wrapper<const std::string>, false)
120120
REGISTER_TYPE(active, bool, false)
121+
REGISTER_TYPE(frequency, float, false) //
122+
121123

122124
/*
123125
* Edge creation timestamp

0 commit comments

Comments
 (0)