Skip to content

Commit d8d8b02

Browse files
authored
fix compile error caused by missing include (#197)
* fix compile error caused by missing include `stat_vector_3d.cpp` uses `std::runtime_error`, which is included in `stdexcept`
1 parent 7560198 commit d8d8b02

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

wiimote/include/wiimote/stat_vector_3d.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
#ifndef WIIMOTE__STAT_VECTOR_3D_HPP_
3030
#define WIIMOTE__STAT_VECTOR_3D_HPP_
3131

32-
3332
#include <vector>
3433

3534
// The vector of 3 values collected to generate:

wiimote/src/stat_vector_3d.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include <cmath>
3333
#include <functional>
3434
#include <numeric>
35+
#include <stdexcept>
3536

3637
StatVector3d::StatVector3d() {count_ = 0;}
3738

0 commit comments

Comments
 (0)