From b74e2bfafa9d85c1833281c807834c282f4f3682 Mon Sep 17 00:00:00 2001 From: Sachin Pisal Date: Fri, 31 Jan 2025 13:39:04 -0800 Subject: [PATCH] Adding #pragma once so that header files are included only once during compilation Signed-off-by: Sachin Pisal --- runtime/cudaq/definition.h | 4 +++- runtime/cudaq/operators.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/runtime/cudaq/definition.h b/runtime/cudaq/definition.h index bdf5af8ab5c..d5013ffc9ce 100644 --- a/runtime/cudaq/definition.h +++ b/runtime/cudaq/definition.h @@ -1,11 +1,13 @@ /****************************************************************-*- C++ -*-**** - * Copyright (c) 2022 - 2024 NVIDIA Corporation & Affiliates. * + * Copyright (c) 2022 - 2025 NVIDIA Corporation & Affiliates. * * All rights reserved. * * * * This source code and the accompanying materials are made available under * * the terms of the Apache License 2.0 which accompanies this distribution. * ******************************************************************************/ +#pragma once + #include "cudaq/qis/state.h" #include "cudaq/utils/tensor.h" diff --git a/runtime/cudaq/operators.h b/runtime/cudaq/operators.h index 5f07f5dd499..6543c5fb720 100644 --- a/runtime/cudaq/operators.h +++ b/runtime/cudaq/operators.h @@ -6,6 +6,8 @@ * the terms of the Apache License 2.0 which accompanies this distribution. * ******************************************************************************/ +#pragma once + #include "definition.h" #include "utils/tensor.h"