Replace use of deprecated C Standard library headers in C++ code.
Change-Id: I9fa6630c7e4bdb2897df34d417635d8c7d8253bc
Signed-off-by: Tyler Chatow <tchatow@gmail.com>
diff --git a/y2019/jevois/structures.h b/y2019/jevois/structures.h
index fcf1ebe..b4bd755 100644
--- a/y2019/jevois/structures.h
+++ b/y2019/jevois/structures.h
@@ -1,14 +1,12 @@
#ifndef Y2019_JEVOIS_STRUCTURES_H_
#define Y2019_JEVOIS_STRUCTURES_H_
-#include <stdint.h>
-
#include <array>
#include <bitset>
#include <chrono>
+#include <cstdint>
#include "Eigen/Dense"
-
#include "aos/containers/sized_array.h"
#include "aos/time/time.h"
#include "third_party/GSL/include/gsl/gsl"
@@ -58,9 +56,7 @@
}
return true;
}
- bool operator!=(const Target &other) const {
- return !(*this == other);
- }
+ bool operator!=(const Target &other) const { return !(*this == other); }
// Distance to the target in meters. Specifically, the distance from the
// center of the camera's image plane to the center of the target.
@@ -95,9 +91,7 @@
}
return true;
}
- bool operator!=(const CameraFrame &other) const {
- return !(*this == other);
- }
+ bool operator!=(const CameraFrame &other) const { return !(*this == other); }
// The top most interesting targets found in this frame.
aos::SizedArray<Target, 3> targets;
@@ -120,9 +114,7 @@
}
return true;
}
- bool operator!=(const RoborioFrame &other) const {
- return !(*this == other);
- }
+ bool operator!=(const RoborioFrame &other) const { return !(*this == other); }
// The top most interesting targets found in this frame.
aos::SizedArray<Target, 3> targets;