Skip to content

Commit 00b67ed

Browse files
committed
Re-organising (cont)
1 parent c53eae2 commit 00b67ed

File tree

2 files changed

+17
-65
lines changed

2 files changed

+17
-65
lines changed

cldeplus/EntityIdentity.h

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ namespace CLDEPlus {
2828
class EntityIdentity : public DataRecord {
2929

3030
public:
31-
explicit EntityIdentity(vector<SPtrCell> const &sptrCells);
32-
EntityIdentity() = default;
33-
EntityIdentity(EntityIdentity const &) = default;
34-
EntityIdentity(EntityIdentity &&) = default;
35-
EntityIdentity &operator=(EntityIdentity const &) = default;
36-
EntityIdentity &operator=(EntityIdentity &&) = default;
37-
~EntityIdentity() = default;
38-
39-
// Factory methods
40-
static unique_ptr<EntityIdentity> CreateUnique() { return cldeplus_make_unique<EntityIdentity>(); }
41-
static unique_ptr<EntityIdentity> CreateUnique(SPtrCellVector const &cells) { return cldeplus_make_unique<EntityIdentity>(cells); }
42-
static shared_ptr<EntityIdentity> CreateShared() { return cldeplus_make_shared<EntityIdentity>(); }
43-
static shared_ptr<EntityIdentity> CreateShared(SPtrCellVector const &cells) { return cldeplus_make_shared<EntityIdentity>(cells); }
44-
};
45-
46-
using UPtrIdentity = unique_ptr<EntityIdentity>;
47-
using SPtrIdentity = shared_ptr<EntityIdentity>;
31+
explicit EntityIdentity(vector<SPtrCell> const &sptrCells);
32+
EntityIdentity() = default;
33+
EntityIdentity(EntityIdentity const &) = default;
34+
EntityIdentity(EntityIdentity &&) = default;
35+
EntityIdentity &operator=(EntityIdentity const &) = default;
36+
EntityIdentity &operator=(EntityIdentity &&) = default;
37+
~EntityIdentity() = default;
38+
39+
// Factory methods
40+
static unique_ptr<EntityIdentity> CreateUnique() { return cldeplus_make_unique<EntityIdentity>(); }
41+
static unique_ptr<EntityIdentity> CreateUnique(SPtrCellVector const &cells) { return cldeplus_make_unique<EntityIdentity>(cells); }
42+
static shared_ptr<EntityIdentity> CreateShared() { return cldeplus_make_shared<EntityIdentity>(); }
43+
static shared_ptr<EntityIdentity> CreateShared(SPtrCellVector const &cells) { return cldeplus_make_shared<EntityIdentity>(cells); }
44+
};
45+
46+
using UPtrIdentity = unique_ptr<EntityIdentity>;
47+
using SPtrIdentity = shared_ptr<EntityIdentity>;
4848
}
4949

5050
#endif //CLDEPLUS_IDENTITY_H

cldeplus/Exception/cldeNonSupportedDataTypeException.h

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)