Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 49c2a24

Browse files
committed
allocator: remove unnecessary #include <libpmemobj.h>
Including libpmemobj.h causes inclusion of all type macros which are not needed by C++.
1 parent 768da42 commit 49c2a24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/libpmemobj++/allocator.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2018, Intel Corporation
2+
* Copyright 2016-2019, Intel Corporation
33
*
44
* Redistribution and use in source and binary forms, with or without
55
* modification, are permitted provided that the following conditions
@@ -43,7 +43,7 @@
4343
#include <libpmemobj++/detail/pexceptions.hpp>
4444
#include <libpmemobj++/persistent_ptr.hpp>
4545
#include <libpmemobj++/pext.hpp>
46-
#include <libpmemobj.h>
46+
#include <libpmemobj/tx_base.h>
4747

4848
namespace pmem
4949
{

0 commit comments

Comments
 (0)