mirror of
https://github.com/JakubVojvoda/design-patterns-cpp.git
synced 2025-12-16 20:37:05 +03:00
minor changes
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
*/
|
||||
class ConcreteAggregate : public Aggregate {
|
||||
public:
|
||||
ConcreteAggregate(const int size) {
|
||||
ConcreteAggregate(const unsigned int size) {
|
||||
list = new int[size]();
|
||||
count = size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user