diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-21 01:34:10 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-21 01:34:10 +0000 |
commit | d4ae68b6ba5211c7bc11a52951c466c5050ae377 (patch) | |
tree | de9d06beede1d7baaf868b6f6c32d3e3c90c5fb3 /lib/strlen.h | |
parent | Fix includes in test glCtxtBhvr (diff) | |
download | ilt-d4ae68b6ba5211c7bc11a52951c466c5050ae377.tar.bz2 ilt-d4ae68b6ba5211c7bc11a52951c466c5050ae377.tar.xz ilt-d4ae68b6ba5211c7bc11a52951c466c5050ae377.zip |
String view/constexpr Shader instances
Gonna need more constexpr stuff and strstr/strlen aren't that
Diffstat (limited to 'lib/strlen.h')
-rw-r--r-- | lib/strlen.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/strlen.h b/lib/strlen.h deleted file mode 100644 index 2090d25..0000000 --- a/lib/strlen.h +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once - -#include <cstddef> -#include <glad/gl.h> - -constexpr auto -constexpr_strlen(const GLchar * const s) -{ - std::size_t ch {}; - while (s[ch]) { - ch++; - } - return ch; -} |