Make StorageSerializer a template class
[platform/core/security/cynara.git] / test / storage / serializer / dump_load.cpp
index f3eff9b..cd4ce5c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014-2015 Samsung Electronics Co., Ltd All Rights Reserved
  *
  *    Licensed under the Apache License, Version 2.0 (the "License");
  *    you may not use this file except in compliance with the License.
@@ -54,7 +54,7 @@ TEST(dump_load, bucket) {
 
     auto ioStream = std::make_shared<std::stringstream>();
 
-    StorageSerializer serializer(ioStream);
+    StorageSerializer<std::stringstream> serializer(ioStream);
     serializer.dump(bucket);
 
     BucketDeserializer deserializer(ioStream);