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