Skip to content

Commit

Permalink
Revert changes to utils
Browse files Browse the repository at this point in the history
  • Loading branch information
bugdea1er committed Jan 18, 2025
1 parent 87267b3 commit f30ef5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
#include <system_error>

#ifdef _WIN32
#define NOMINMAX
#include <Windows.h>
#include <cwchar>
#else
#include <unistd.h>
#endif

namespace tmp {
Expand Down
4 changes: 2 additions & 2 deletions src/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ constexpr fs::copy_options copy_options =
bool create_parent(const fs::path& path, std::error_code& ec);

/// Creates a temporary path pattern with the given label and extension
/// @param[in] label A label to attach to the path pattern
/// @param[in] extension An extension of the temporary file path
/// @param label A label to attach to the path pattern
/// @param extension An extension of the temporary file path
/// @returns A path pattern for the unique temporary path
/// @throws std::invalid_argument if the label or extension is ill-formatted
/// @throws std::bad_alloc if memory allocation fails
Expand Down

0 comments on commit f30ef5a

Please sign in to comment.