Skip to content

Commit

Permalink
Add timeOperations include to fed-filter example and missing quotes t…
Browse files Browse the repository at this point in the history
…o log messages (#49)

* Fix compilation problem due to missing include.

* Fixing a missing quotes sign.
  • Loading branch information
laurmarinovici authored May 25, 2022
1 parent 3b30669 commit be95fbf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions examples/fed-filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ SPDX-License-Identifier: BSD-3-Clause
#include <stdexcept>
#include "helics/core/helicsCLI11.hpp"
#include "helics/core/helicsVersion.hpp"
#include "helics/application_api/timeOperations.hpp"

int main (int argc, char *argv[])
{
Expand Down
8 changes: 4 additions & 4 deletions model/helics-application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ HelicsApplication::Send (std::string dest, helics::Time time, std::unique_ptr<he
<< to->GetName()
<< "' at address "
<< address.GetIpv4()
<< " port "
<< " port '"
<< address.GetPort()
<< "' uid '"
<< p->GetUid () <<"'");
Expand Down Expand Up @@ -409,7 +409,7 @@ HelicsApplication::Send (std::string dest, helics::Time time, std::unique_ptr<he
<< to->GetName()
<< "' at address "
<< address.GetIpv6()
<< " port "
<< " port '"
<< address.GetPort()
<< "' uid '"
<< p->GetUid () <<"'");
Expand Down Expand Up @@ -517,7 +517,7 @@ HelicsApplication::HandleRead (Ptr<Socket> socket)
<< size
<< " bytes at address "
<< InetSocketAddress::ConvertFrom (from).GetIpv4 ()
<< " port "
<< " port '"
<< InetSocketAddress::ConvertFrom (from).GetPort ()
<< "' sdata '"
<< sdata
Expand Down Expand Up @@ -546,7 +546,7 @@ HelicsApplication::HandleRead (Ptr<Socket> socket)
<< size
<< " bytes at address "
<< Inet6SocketAddress::ConvertFrom (from).GetIpv6 ()
<< " port "
<< " port '"
<< Inet6SocketAddress::ConvertFrom (from).GetPort ()
<< "' sdata '"
<< sdata
Expand Down

0 comments on commit be95fbf

Please sign in to comment.