Skip to content

Commit 3cfb44f

Browse files
committed
DEP: StructureAdapter::customPQConfig method
Advise on future removal of this method.
1 parent b2aece7 commit 3cfb44f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/diffpy/srreal/StructureAdapter.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ class StructureAdapter :
8989

9090
/// this method allows custom special configuration for a concrete
9191
/// pair of StructureAdapter and PairQuantity objects.
92-
virtual void customPQConfig(PairQuantity* pq) const { }
92+
virtual void customPQConfig(PairQuantity* pq) const
93+
__attribute__ ((deprecated))
94+
{ }
9395

9496
/// Return difference from the other StructureAdapter
9597
virtual StructureDifference diff(StructureAdapterConstPtr) const;

0 commit comments

Comments
 (0)