This is an automated email from the ASF dual-hosted git repository. bneradt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 214b89261 Add `#pragma once` for PendingAction.h (#8846) 214b89261 is described below commit 214b89261396f11c0866ce5f934ba24ca53ecde2 Author: Brian Neradt <brian.ner...@gmail.com> 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. --- include/tscore/PendingAction.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/tscore/PendingAction.h b/include/tscore/PendingAction.h index 93c814217..4650b0629 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