Skip to content

Commit eb54d8b

Browse files
authored
Storage class functions should be inline. (#953)
1 parent 6b8853b commit eb54d8b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

google/cloud/storage/storage_class.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,32 @@ inline namespace STORAGE_CLIENT_NS {
2828
* classes.
2929
*/
3030
namespace storage_class {
31-
char const* Standard() {
31+
inline char const* Standard() {
3232
static constexpr char kStorageClass[] = "STANDARD";
3333
return kStorageClass;
3434
}
3535

36-
char const* MultiRegional() {
36+
inline char const* MultiRegional() {
3737
static constexpr char kStorageClass[] = "MULTI_REGIONAL";
3838
return kStorageClass;
3939
}
4040

41-
char const* Regional() {
41+
inline char const* Regional() {
4242
static constexpr char kStorageClass[] = "REGIONAL";
4343
return kStorageClass;
4444
}
4545

46-
char const* Nearline() {
46+
inline char const* Nearline() {
4747
static constexpr char kStorageClass[] = "NEARLINE";
4848
return kStorageClass;
4949
}
5050

51-
char const* Coldline() {
51+
inline char const* Coldline() {
5252
static constexpr char kStorageClass[] = "COLDLINE";
5353
return kStorageClass;
5454
}
5555

56-
char const* DurableReducedAvailability() {
56+
inline char const* DurableReducedAvailability() {
5757
static constexpr char kStorageClass[] = "DURABLE_REDUCED_AVAILABILITY";
5858
return kStorageClass;
5959
}

0 commit comments

Comments
 (0)