From c0e53a6639b5d794cae6976aca0544c21ff8ea96 Mon Sep 17 00:00:00 2001 From: charan-003 <85248228+charan-003@users.noreply.github.com> Date: Sat, 16 Nov 2024 07:56:38 -0700 Subject: [PATCH] Update location.h added string_view continent --- include/faker-cxx/location.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/faker-cxx/location.h b/include/faker-cxx/location.h index a2cade67d..dce481fa0 100644 --- a/include/faker-cxx/location.h +++ b/include/faker-cxx/location.h @@ -3,6 +3,8 @@ #include #include #include +#ifndef FAKER_LOCATION_H +#define FAKER_LOCATION_H #include "faker-cxx/export.h" #include "faker-cxx/types/locale.h" @@ -19,6 +21,8 @@ namespace faker::location * faker::location::country() // "Poland" * @endcode */ +std::string_view continent(); +#endif // FAKER_LOCATION_H FAKER_CXX_EXPORT std::string_view country(); /**