| 1 | // © 2016 and later: Unicode, Inc. and others. | 
|---|---|
| 2 | // License & terms of use: http://www.unicode.org/copyright.html | 
| 3 | /* | 
| 4 | ******************************************************************************* | 
| 5 | * Copyright (C) 2013-2014, International Business Machines Corporation and * | 
| 6 | * others. All Rights Reserved. * | 
| 7 | ******************************************************************************* | 
| 8 | * | 
| 9 | * File RELDATEFMTTEST.CPP | 
| 10 | * | 
| 11 | ******************************************************************************* | 
| 12 | */ | 
| 13 | #include "sharedbreakiterator.h" | 
| 14 | #include "unicode/brkiter.h" | 
| 15 | |
| 16 | #if !UCONFIG_NO_BREAK_ITERATION | 
| 17 | |
| 18 | U_NAMESPACE_BEGIN | 
| 19 | |
| 20 | SharedBreakIterator::SharedBreakIterator( | 
| 21 | BreakIterator *biToAdopt) : ptr(biToAdopt) { } | 
| 22 | |
| 23 | SharedBreakIterator::~SharedBreakIterator() { | 
| 24 | delete ptr; | 
| 25 | } | 
| 26 | |
| 27 | U_NAMESPACE_END | 
| 28 | |
| 29 | #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ | 
| 30 | 
