Skip to content

Commit

Permalink
Update location.h
Browse files Browse the repository at this point in the history
added string_view continent
  • Loading branch information
charan-003 authored Nov 16, 2024
1 parent 58d922c commit c0e53a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/faker-cxx/location.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include <limits>
#include <string>
#include <string_view>
#ifndef FAKER_LOCATION_H
#define FAKER_LOCATION_H

#include "faker-cxx/export.h"
#include "faker-cxx/types/locale.h"
Expand All @@ -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();

/**
Expand Down

0 comments on commit c0e53a6

Please sign in to comment.