Skip to content

Commit f3df1bf

Browse files
committed
Remove redundant pragma once directives.
1 parent d515eb8 commit f3df1bf

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

include/boost/python/other.hpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
#ifndef OTHER_DWA20020601_HPP
2-
# define OTHER_DWA20020601_HPP
1+
#ifndef BOOST_PYTHON_OTHER_HPP
2+
# define BOOST_PYTHON_OTHER_HPP
33

44
# include <boost/python/detail/prefix.hpp>
55
// Copyright David Abrahams 2002.
66
// Distributed under the Boost Software License, Version 1.0. (See
77
// accompanying file LICENSE_1_0.txt or copy at
88
// http://www.boost.org/LICENSE_1_0.txt)
99

10-
# pragma once
11-
1210
# include <boost/config.hpp>
1311

1412
namespace boost { namespace python {
@@ -51,4 +49,4 @@ namespace detail
5149

5250
}} // namespace boost::python
5351

54-
#endif // #ifndef OTHER_DWA20020601_HPP
52+
#endif

include/boost/python/ptr.hpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ifndef PTR_DWA20020601_HPP
2-
# define PTR_DWA20020601_HPP
1+
#ifndef BOOST_PYTHON_PTR_HPP
2+
# define BOOST_PYTHON_PTR_HPP
33

44
# include <boost/python/detail/prefix.hpp>
55
// Copyright David Abrahams 2002.
@@ -11,8 +11,6 @@
1111
// Copyright (C) 1999, 2000 Jaakko Jarvi (jaakko.jarvi@cs.utu.fi)
1212
// Copyright (C) 2001 Peter Dimov
1313

14-
# pragma once
15-
1614
# include <boost/config.hpp>
1715
# include <boost/mpl/bool.hpp>
1816

@@ -64,4 +62,4 @@ class unwrap_pointer<pointer_wrapper<T> >
6462

6563
}} // namespace boost::python
6664

67-
#endif // #ifndef PTR_DWA20020601_HPP
65+
#endif

0 commit comments

Comments
 (0)