This is an automated email from the ASF dual-hosted git repository. zwoop pushed a commit to branch 9.2.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit b54edeaf5afb48cee2110501a2bd2ca2a8c40d52 Author: Brian Neradt <[email protected]> AuthorDate: Thu May 12 16:34:52 2022 -0500 Add `#pragma once` for PendingAction.h (#8846) PendingAction.h needs a `#pragma once` to protect it from double inclusion. This patch adds this. This has not caused problems yet because it is currently only used once in HttpSM.h, but as it gets more use this will be required. (cherry picked from commit 214b89261396f11c0866ce5f934ba24ca53ecde2) --- include/tscore/PendingAction.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/tscore/PendingAction.h b/include/tscore/PendingAction.h index c23bb9cb6..d1112f433 100644 --- a/include/tscore/PendingAction.h +++ b/include/tscore/PendingAction.h @@ -21,6 +21,8 @@ See the License for the specific language governing permissions and limitations under the License. */ +#pragma once + /** Hold a pending @c Action. * * This is modeled on smart pointer classes. This class wraps a pointer to
