Remove PolicyBucket() constructor 82/28382/8
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Mon, 6 Oct 2014 10:45:25 +0000 (12:45 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 24 Oct 2014 13:29:20 +0000 (15:29 +0200)
commit94c676f6a67966566072093dadf217ddd20849a1
tree4a65461a431cad140769d31aba87936f7fc1f80e
parent48530fdfc88229b6430c3f63640fc02bd00d0eca
Remove PolicyBucket() constructor

In some cases using parameterless constructor of PolicyBucket can
result in uninitialized PolicyBucket id. Complete removal of this
constructor guarantees inablity to create bucket with no id.

Change-Id: Id67d7f257697078ef0d4518161ade473a983cf6b
src/common/types/PolicyBucket.cpp
src/common/types/PolicyBucket.h
src/storage/InMemoryStorageBackend.cpp
src/storage/StorageDeserializer.cpp
test/common/types/policybucket.cpp
test/storage/inmemorystoragebackend/buckets.cpp
test/storage/inmemorystoragebackend/inmemeorystoragebackendfixture.h
test/storage/performance/bucket.cpp
test/storage/serializer/dump.cpp
test/storage/serializer/dump_load.cpp
test/storage/storage/check.cpp