From c987a0ac33a703253dd4aaa8993139010bfa8585 Mon Sep 17 00:00:00 2001 From: Ed Hennis Date: Fri, 10 Jul 2026 11:41:11 -0400 Subject: [PATCH] Fix new header to use "#pragma once" --- include/xrpl/basics/CanProcess.h | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/include/xrpl/basics/CanProcess.h b/include/xrpl/basics/CanProcess.h index 3ee49d0087..e53010edf3 100644 --- a/include/xrpl/basics/CanProcess.h +++ b/include/xrpl/basics/CanProcess.h @@ -1,24 +1,4 @@ -//------------------------------------------------------------------------------ -/* - This file is part of rippled: https://github.com/ripple/rippled - Copyright (c) 2024 Ripple Labs Inc. - - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -*/ -//============================================================================== - -#ifndef RIPPLE_BASICS_CANPROCESS_H_INCLUDED -#define RIPPLE_BASICS_CANPROCESS_H_INCLUDED +#pragma once #include #include @@ -130,5 +110,3 @@ private: // If set, then the item is "usable" std::function cleanup_; }; - -#endif