Commit ea4bc80c authored by Jens Petit's avatar Jens Petit
Browse files

Fix documentation for DataContainer

parent 7a626687
Pipeline #167331 passed with stages
in 19 minutes and 27 seconds
...@@ -10,12 +10,11 @@ ...@@ -10,12 +10,11 @@
namespace elsa namespace elsa
{ {
/// forward declaration for friend function useCount // forward declaration for friend test function
template <typename data_t = real_t> class DataContainer; template <typename data_t = real_t> class DataContainer;
/// used for testing and defined in test file // used for testing and defined in test file (declared as friend)
template <typename data_t> int useCount(const DataContainer<data_t>&); template <typename data_t> int useCount(const DataContainer<data_t>&);
/** /**
* \brief class representing and storing a linearized n-dimensional signal * \brief class representing and storing a linearized n-dimensional signal
* *
...@@ -198,7 +197,7 @@ namespace elsa ...@@ -198,7 +197,7 @@ namespace elsa
/// comparison with another DataContainer /// comparison with another DataContainer
bool operator!=(const DataContainer<data_t>& other) const; bool operator!=(const DataContainer<data_t>& other) const;
/// used for testing and defined in test file /// used for testing only and defined in test file
friend int useCount <> (const DataContainer<data_t>& dc); friend int useCount <> (const DataContainer<data_t>& dc);
private: private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment