Skip to content

Commit 42cc3e0

Browse files
committed
Fixes excessive messages
1 parent 576365c commit 42cc3e0

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2025 M5Stack Technology CO LTD
3+
*
4+
* SPDX-License-Identifier: MIT
5+
*/
6+
/*!
7+
@file circular_buffer.cpp
8+
@brief Circular buffer with STL-like interface
9+
*/
10+
#include "circular_buffer.hpp"
11+
#if __cplusplus >= 201703L
12+
#pragma message "Using std::optional"
13+
#else
14+
#pragma message "Using m5::stl::optional"
15+
#endif

src/m5_utility/container/circular_buffer.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
#include <iterator>
1616
#include <cassert>
1717
#if __cplusplus >= 201703L
18-
#pragma message "Using std::optional"
1918
#include <optional>
2019
#else
21-
#pragma message "Using m5::stl::optional"
2220
#include "../stl/optional.hpp"
2321
#endif
2422

0 commit comments

Comments
 (0)