Skip to content

Commit 80755a0

Browse files
committed
build: change deprecated OIIO_CONSTEXPR14 to constexpr
Signed-off-by: Larry Gritz <[email protected]>
1 parent e01696b commit 80755a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liboslexec/string_hash.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace pvt {
1111

12-
OIIO_CONSTEXPR14 inline size_t
12+
constexpr inline size_t
1313
pvtstrlen(const char* s)
1414
{
1515
if (s == nullptr)
@@ -23,7 +23,7 @@ pvtstrlen(const char* s)
2323
} // namespace pvt
2424

2525
namespace UStringHash {
26-
OIIO_CONSTEXPR14 inline size_t
26+
constexpr inline size_t
2727
Hash(const char* s)
2828
{
2929
size_t len = pvt::pvtstrlen(s);

0 commit comments

Comments
 (0)