Skip to content

Commit

Permalink
Adding #pragma once so that header files are included only once durin…
Browse files Browse the repository at this point in the history
…g compilation

Signed-off-by: Sachin Pisal <spisal@nvidia.com>
  • Loading branch information
sacpis committed Jan 31, 2025
1 parent 5ba8041 commit b74e2bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtime/cudaq/definition.h
Original file line number Diff line number Diff line change
@@ -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"

Expand Down
2 changes: 2 additions & 0 deletions runtime/cudaq/operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b74e2bf

Please sign in to comment.