diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 423b09a9f2..224cfba0eb 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -15,7 +15,6 @@ add_files(
kdtree.hpp
math_func.cpp
math_func.hpp
- mem_func.hpp
multimap.hpp
overflowsafe_type.hpp
pool_func.cpp
diff --git a/src/core/mem_func.hpp b/src/core/mem_func.hpp
deleted file mode 100644
index db2faa9c14..0000000000
--- a/src/core/mem_func.hpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * This file is part of OpenTTD.
- * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
- * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see .
- */
-
-/** @file mem_func.hpp Functions related to memory operations. */
-
-#ifndef MEM_FUNC_HPP
-#define MEM_FUNC_HPP
-
-/**
- * Type-safe version of memcpy().
- *
- * @param destination Pointer to the destination buffer
- * @param source Pointer to the source buffer
- * @param num number of items to be copied. (!not number of bytes!)
- */
-template
-inline void MemCpyT(T *destination, const T *source, size_t num = 1)
-{
- memcpy(destination, source, num * sizeof(T));
-}
-
-/**
- * Type-safe version of memset().
- *
- * @param ptr Pointer to the destination buffer
- * @param value Value to be set
- * @param num number of items to be set (!not number of bytes!)
- */
-template
-inline void MemSetT(T *ptr, uint8_t value, size_t num = 1)
-{
- memset(ptr, value, num * sizeof(T));
-}
-
-#endif /* MEM_FUNC_HPP */
diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp
index 7d2882acf3..ce89c64aeb 100644
--- a/src/music/dmusic.cpp
+++ b/src/music/dmusic.cpp
@@ -14,7 +14,6 @@
#endif
#include "../debug.h"
#include "../os/windows/win32.h"
-#include "../core/mem_func.hpp"
#include "../thread.h"
#include "../fileio_func.h"
#include "../base_media_base.h"
diff --git a/src/strgen/strgen_base.cpp b/src/strgen/strgen_base.cpp
index 9770efecc3..513f610839 100644
--- a/src/strgen/strgen_base.cpp
+++ b/src/strgen/strgen_base.cpp
@@ -9,7 +9,6 @@
#include "../stdafx.h"
#include "../core/endian_func.hpp"
-#include "../core/mem_func.hpp"
#include "../core/math_func.hpp"
#include "../error_func.h"
#include "../string_func.h"