Skip to content
Snippets Groups Projects
Commit 75375dad authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix comment and remove useless inner type definition

parent 784790bd
No related branches found
No related tags found
1 merge request!128Feature/unit tests
......@@ -42,15 +42,13 @@ class SubItemArrayPerItem
// Allow const std:weak_ptr version to access our data
friend SubItemArrayPerItem<std::add_const_t<DataType>, ItemOfItem, ConnectivityWeakPtr>;
// Allow const std:shared_ptr version to access our data
// Allow non-const std:shared_ptr version to access our data
friend SubItemArrayPerItem<std::remove_const_t<DataType>, ItemOfItem, ConnectivitySharedPtr>;
// Allow const std:weak_ptr version to access our data
// Allow non-const std:weak_ptr version to access our data
friend SubItemArrayPerItem<std::remove_const_t<DataType>, ItemOfItem, ConnectivityWeakPtr>;
public:
using ToShared = SubItemArrayPerItem<DataType, ItemOfItem, ConnectivitySharedPtr>;
friend PUGS_INLINE SubItemArrayPerItem<std::remove_const_t<DataType>, ItemOfItem, ConnectivityPtr>
copy(SubItemArrayPerItem<DataType, ItemOfItem, ConnectivityPtr>& source)
{
......
......@@ -41,15 +41,13 @@ class SubItemValuePerItem
// Allow const std:weak_ptr version to access our data
friend SubItemValuePerItem<std::add_const_t<DataType>, ItemOfItem, ConnectivityWeakPtr>;
// Allow const std:shared_ptr version to access our data
// Allow non-const std:shared_ptr version to access our data
friend SubItemValuePerItem<std::remove_const_t<DataType>, ItemOfItem, ConnectivitySharedPtr>;
// Allow const std:weak_ptr version to access our data
// Allow non-const std:weak_ptr version to access our data
friend SubItemValuePerItem<std::remove_const_t<DataType>, ItemOfItem, ConnectivityWeakPtr>;
public:
using ToShared = SubItemValuePerItem<DataType, ItemOfItem, ConnectivitySharedPtr>;
friend PUGS_INLINE SubItemValuePerItem<std::remove_const_t<DataType>, ItemOfItem, ConnectivityPtr>
copy(SubItemValuePerItem<DataType, ItemOfItem, ConnectivityPtr>& source)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment