Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Fyodor Muratov <[email protected]>
  • Loading branch information
muratovv authored and lebdron committed Dec 19, 2017
1 parent 6974661 commit 998f40e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion shared_model/interfaces/model_primitive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace shared_model {

/**
* Polymorphic copy constructor.
* Method guarantee deep-copy.
* Method guarantees deep-copy.
* @return pointer to copied object
* discussion note: this method possible to rework with in-place pointer
* as parameter. such as: copy(T* ptr=nullptr), on nullptr allocate object
Expand Down
3 changes: 1 addition & 2 deletions shared_model/interfaces/primitive.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ namespace shared_model {
namespace interface {

/**
* Primitive it the base class for all model objects, that require backward
* Primitive is the base class for all model objects, that require backward
* compatibility
* @tparam Model - your new style model;
* @tparam OldModel - old-style model, that changed with new model;
*/
template <typename Model, typename OldModel>
class Primitive : public ModelPrimitive<Model> {
public:

/**
* Reference for old-style model type
*/
Expand Down

0 comments on commit 998f40e

Please sign in to comment.