mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: change refCount (internal) from count() to use_count()
- allows unambiguous of count() for other classes. Naming as per std::shared_ptr. STYLE: qualify use_count() and unique() methods with the refCount base - clearer/consistent meaning
This commit is contained in:
@ -41,7 +41,7 @@ void printInfo(const tmp<T>& item, const bool verbose = false)
|
||||
<< " movable:" << Switch(item.movable());
|
||||
if (item)
|
||||
{
|
||||
Info<< " refCount:" << item->count();
|
||||
Info<< " refCount:" << item->use_count();
|
||||
}
|
||||
|
||||
Info<< " move-constructible:"
|
||||
|
||||
Reference in New Issue
Block a user