Skip to content

Commit

Permalink
add fstream include into pch file
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmmdshirazi committed May 2, 2024
1 parent d66847f commit c17c64f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/common/config/config.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "config.h"
#include <fstream>
namespace Tyr::Common
{
ConfigReader::ConfigReader(const std::string_view t_file_path)

Check failure on line 4 in source/common/config/config.cpp

View workflow job for this annotation

GitHub Actions / check

source/common/config/config.cpp:4:34 [clang-diagnostic-error]

use of undeclared identifier 'std'
Expand Down
2 changes: 2 additions & 0 deletions source/common/pch.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <span>
#include <string_view>
#include <vector>
#include <fstream>

#include <fmt/format.h>
#include <spdlog/sinks/basic_file_sink.h>
Expand Down Expand Up @@ -43,3 +44,4 @@
#include "math/helpers.h"
#include "math/vector.h"
#include "services.h"
#

0 comments on commit c17c64f

Please sign in to comment.