sharedbreakiterator.cpp 887 B

1234567891011121314151617181920212223242526272829
  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. #if !UCONFIG_NO_BREAK_ITERATION
  16. U_NAMESPACE_BEGIN
  17. SharedBreakIterator::SharedBreakIterator(
  18. BreakIterator *biToAdopt) : ptr(biToAdopt) { }
  19. SharedBreakIterator::~SharedBreakIterator() {
  20. delete ptr;
  21. }
  22. U_NAMESPACE_END
  23. #endif /* #if !UCONFIG_NO_BREAK_ITERATION */