aboutsummaryrefslogtreecommitdiff
path: root/include/dchat/FileUtil.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/dchat/FileUtil.hpp')
-rw-r--r--include/dchat/FileUtil.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dchat/FileUtil.hpp b/include/dchat/FileUtil.hpp
index 097b607..6a7ff00 100644
--- a/include/dchat/FileUtil.hpp
+++ b/include/dchat/FileUtil.hpp
@@ -13,7 +13,7 @@ namespace dchat
};
// Throws FileException on error.
- // Returned value is allocated with malloc and should be free'd by caller.
+ // Returned value is allocated with `new[]` and should be `delete`[]d by caller.
StringView getFileContent(const boost::filesystem::path &filepath);
// Throws FileException on error