blob: 6f30beea7eb0a75635149b775ffba24cf34fb96b [file] [log] [blame]
Vitaly Buka4615e0d2015-10-14 15:35:12 -07001// Copyright 2015 The Weave Authors. All rights reserved.
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -07002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Stefan Sauer2d16dfa2015-09-25 17:08:35 +02005#include "src/commands/prop_values.h"
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -07006
Stefan Sauer2d16dfa2015-09-25 17:08:35 +02007#include "src/commands/prop_types.h"
Alex Vakulenko5ef75792015-03-19 15:50:44 -07008
Vitaly Bukab6f015a2015-07-09 14:59:23 -07009namespace weave {
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070010
Vitaly Buka79c05e92015-07-29 12:25:37 -070011PropValue::PropValue(const PropType& type) : type_{type.Clone()} {}
Alex Vakulenko5ef75792015-03-19 15:50:44 -070012
Vitaly Buka79c05e92015-07-29 12:25:37 -070013PropValue::PropValue(const PropValue& other) : PropValue{*other.type_} {}
Alex Vakulenko5ef75792015-03-19 15:50:44 -070014
Vitaly Buka4ebd3292015-09-23 18:04:17 -070015PropValue::~PropValue() {}
Alex Vakulenkoe439a0f2014-05-21 12:26:47 -070016
Vitaly Bukab6f015a2015-07-09 14:59:23 -070017} // namespace weave