From a144c8cda72a4e2fa90beb8cde5915e3f13c3cbe Mon Sep 17 00:00:00 2001 From: Tobias Alam Date: Mon, 18 Nov 2024 08:29:11 -0500 Subject: [PATCH] sanity check fixes --- copying.md | 1 + libopenage/util/file.h | 2 +- libopenage/util/fslike/directory.h | 2 +- libopenage/util/path.cpp | 2 +- libopenage/util/path.h | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/copying.md b/copying.md index ec1ddd2a46..61153fb9cf 100644 --- a/copying.md +++ b/copying.md @@ -156,6 +156,7 @@ _the openage authors_ are: | Nikhil Ghosh | NikhilGhosh75 | nghosh606 à gmail dawt com | | Edvin Lindholm | EdvinLndh | edvinlndh à gmail dawt com | | Jeremiah Morgan | jere8184 | jeremiahmorgan dawt bham à outlook dawt com | +| Tobias Alam | alamt22 | tobiasal à umich dawt edu | If you're a first-time committer, add yourself to the above list. This is not just for legal reasons, but also to keep an overview of all those nicknames. diff --git a/libopenage/util/file.h b/libopenage/util/file.h index f5339adf67..44d24b027a 100644 --- a/libopenage/util/file.h +++ b/libopenage/util/file.h @@ -99,7 +99,7 @@ class OAAPI File { ssize_t size(); std::vector get_lines(); std::shared_ptr get_fileobj() const; - + static File get_temp_file(); protected: diff --git a/libopenage/util/fslike/directory.h b/libopenage/util/fslike/directory.h index 43c922b8b5..9f72d49766 100644 --- a/libopenage/util/fslike/directory.h +++ b/libopenage/util/fslike/directory.h @@ -47,7 +47,7 @@ class Directory : public FSLike { uint64_t get_filesize(const Path::parts_t &parts) override; std::ostream &repr(std::ostream &) override; - + static Directory get_temp_directory(); protected: diff --git a/libopenage/util/path.cpp b/libopenage/util/path.cpp index ff23253533..e521a4ed9e 100644 --- a/libopenage/util/path.cpp +++ b/libopenage/util/path.cpp @@ -1,4 +1,4 @@ -// Copyright 2015-2023 the openage authors. See copying.md for legal info. +// Copyright 2015-2024 the openage authors. See copying.md for legal info. #include "path.h" diff --git a/libopenage/util/path.h b/libopenage/util/path.h index d16e1734c6..5d4e079812 100644 --- a/libopenage/util/path.h +++ b/libopenage/util/path.h @@ -1,4 +1,4 @@ -// Copyright 2015-2023 the openage authors. See copying.md for legal info. +// Copyright 2015-2024 the openage authors. See copying.md for legal info. #pragma once