Skip to content

Commit

Permalink
Add missing headers.
Browse files Browse the repository at this point in the history
Fixes compile errors with the newly released Visual Studio 17.13.
  • Loading branch information
teo-tsirpanis committed Feb 13, 2025
1 parent ab6c52e commit 5059a71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
7 changes: 3 additions & 4 deletions tiledb/common/heap_profiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
* This file contains the implementation of the HeapProfiler class.
*/

#include <chrono>
#include <fstream>
#include <iostream>

#include "tiledb/common/heap_profiler.h"

namespace tiledb {
namespace common {
namespace tiledb::common {

HeapProfiler heap_profiler;

Expand Down Expand Up @@ -332,5 +332,4 @@ void HeapProfiler::dump_internal() {
file_stream.close();
}

} // namespace common
} // namespace tiledb
} // namespace tiledb::common
10 changes: 4 additions & 6 deletions tiledb/sm/stats/duration_instrument.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@
#ifndef TILEDB_DURATION_INSTRUMENT_H
#define TILEDB_DURATION_INSTRUMENT_H

#include <chrono>

#include "tiledb/common/common.h"

using namespace tiledb::common;

namespace tiledb {
namespace sm {
namespace stats {
namespace tiledb::sm::stats {

class Stats;

Expand Down Expand Up @@ -81,8 +81,6 @@ class DurationInstrument {
std::chrono::high_resolution_clock::time_point start_time_;
};

} // namespace stats
} // namespace sm
} // namespace tiledb
} // namespace tiledb::sm::stats

#endif // TILEDB_DURATION_INSTRUMENT_H

0 comments on commit 5059a71

Please sign in to comment.