Alex Vakulenko | e439a0f | 2014-05-21 12:26:47 -0700 | [diff] [blame] | 1 | // Copyright 2014 The Chromium OS Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #include "buffet/commands/prop_values.h" |
| 6 | |
Alex Vakulenko | 5ef7579 | 2015-03-19 15:50:44 -0700 | [diff] [blame] | 7 | #include "buffet/commands/prop_types.h" |
| 8 | |
Alex Vakulenko | e439a0f | 2014-05-21 12:26:47 -0700 | [diff] [blame] | 9 | namespace buffet { |
| 10 | |
Alex Vakulenko | 5ef7579 | 2015-03-19 15:50:44 -0700 | [diff] [blame] | 11 | PropValue::PropValue(std::unique_ptr<const PropType> type) |
| 12 | : type_{std::move(type)} {} |
| 13 | |
| 14 | PropValue::PropValue(const PropType* type_ptr) |
| 15 | : type_{type_ptr->Clone()} {} |
| 16 | |
| 17 | PropValue::~PropValue() {} |
Alex Vakulenko | e439a0f | 2014-05-21 12:26:47 -0700 | [diff] [blame] | 18 | |
| 19 | } // namespace buffet |