diff --git a/examples/riot_and_cpp/cpp_class.cpp b/examples/riot_and_cpp/cpp_class.cpp index 7d53250c89..c6f4586ac7 100644 --- a/examples/riot_and_cpp/cpp_class.cpp +++ b/examples/riot_and_cpp/cpp_class.cpp @@ -20,7 +20,7 @@ * @} */ -#include "cpp_class.h" +#include "cpp_class.hpp" cpp_class::cpp_class() { diff --git a/examples/riot_and_cpp/cpp_class.h b/examples/riot_and_cpp/cpp_class.hpp similarity index 97% rename from examples/riot_and_cpp/cpp_class.h rename to examples/riot_and_cpp/cpp_class.hpp index 112f1aa032..8f26711b58 100644 --- a/examples/riot_and_cpp/cpp_class.h +++ b/examples/riot_and_cpp/cpp_class.hpp @@ -13,7 +13,7 @@ * @ingroup examples * @{ * - * @file cpp_class.h + * @file cpp_class.hpp * @brief simple c++ object declaration with public and private functions * * @author Martin Landsmann diff --git a/examples/riot_and_cpp/main.cpp b/examples/riot_and_cpp/main.cpp index 5b93b2aa78..24100a8ffe 100644 --- a/examples/riot_and_cpp/main.cpp +++ b/examples/riot_and_cpp/main.cpp @@ -32,7 +32,7 @@ extern "C" { #include #include -#include "cpp_class.h" +#include "cpp_class.hpp" using namespace std;