subscribe_options.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // subscribe_options.cpp
  2. /*******************************************************************************
  3. * Copyright (c) 2019 Frank Pagliughi <fpagliughi@mindspring.com>
  4. *
  5. * All rights reserved. This program and the accompanying materials
  6. * are made available under the terms of the Eclipse Public License v1.0
  7. * and Eclipse Distribution License v1.0 which accompany this distribution.
  8. *
  9. * The Eclipse Public License is available at
  10. * http://www.eclipse.org/legal/epl-v10.html
  11. * and the Eclipse Distribution License is available at
  12. * http://www.eclipse.org/org/documents/edl-v10.php.
  13. *
  14. * Contributors:
  15. * Frank Pagliughi - initial implementation and documentation
  16. *******************************************************************************/
  17. #include "mqtt/subscribe_options.h"
  18. namespace mqtt {
  19. /////////////////////////////////////////////////////////////////////////////
  20. #if __cplusplus < 201703L
  21. constexpr bool subscribe_options::SUBSCRIBE_NO_LOCAL;
  22. constexpr bool subscribe_options::SUBSCRIBE_LOCAL;
  23. constexpr bool subscribe_options::NO_RETAIN_AS_PUBLISHED;
  24. constexpr bool subscribe_options::RETAIN_AS_PUBLISHED;
  25. #endif
  26. /////////////////////////////////////////////////////////////////////////////
  27. // end namespace 'mqtt'
  28. }