Skip to content

Commit c44f885

Browse files
committed
std::is_pod -> IsPod
1 parent 9325ba0 commit c44f885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/gl_shader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2828
// We currently write GLBinaryHeader to a file and memcpy all over it.
2929
// Make sure it's a pod, so we don't put a std::string in it or something
3030
// and try to memcpy over that or binary write an std::string to a file.
31-
static_assert(std::is_pod<GLBinaryHeader>::value, "Value must be a pod while code in this cpp file reads and writes this object to file as binary.");
31+
static_assert(IsPod<GLBinaryHeader>, "Value must be a pod while code in this cpp file reads and writes this object to file as binary.");
3232

3333
// set via command line args only since this allows arbitrary code execution
3434
static Cvar::Cvar<std::string> shaderpath(

0 commit comments

Comments
 (0)