mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
[robotpy] Run wpiformat on non-python robotpy files (#8362)
This turns the styleguide on for the non-python robotpy files. The overwhelming amount of changes were related to whitespace, followed by some IWYU for standard library headers.
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
#include "wpi/nt/NetworkTableValue.hpp"
|
||||
#include "wpi/util/raw_ostream.hpp"
|
||||
|
||||
using namespace std::string_literals;
|
||||
|
||||
namespace wpi::nt::net {
|
||||
namespace {
|
||||
|
||||
@@ -119,6 +117,7 @@ std::pair<int, Value> DecodeBinary(std::span<const uint8_t> data,
|
||||
}
|
||||
|
||||
ClientMessage Publish(int pubuid, std::string_view name) {
|
||||
using namespace std::literals;
|
||||
return ClientMessage{PublishMsg{
|
||||
pubuid, std::string{name}, "double"s, wpi::util::json::object(), {}}};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user