Skip to content

Commit

Permalink
Fix formatting issues reported by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDriscoll committed Feb 16, 2024
1 parent 7340859 commit db69517
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions framework/decode/json_writer.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,14 @@ class JsonWriter : public AnnotationHandler
std::string GenerateFilename(const std::string_view filename);
bool WriteBinaryFile(const std::string& filename, uint64_t data_size, const uint8_t* data);

inline void SetCurrentBlockIndex(uint64_t block_index)
{
block_index_ = block_index;
}
inline void SetCurrentBlockIndex(uint64_t block_index) { block_index_ = block_index; }

private:
util::OutputStream* os_;
nlohmann::ordered_json header_;
util::JsonOptions json_options_;
nlohmann::ordered_json json_data_;
uint64_t block_index_;
uint64_t block_index_;
uint32_t num_streams_{ 0 };
/// Number of side-files generated for dumping binary blobs etc.
uint32_t num_files_{ 0 };
Expand Down
2 changes: 1 addition & 1 deletion framework/decode/vulkan_decoder_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ class VulkanDecoderBase : public ApiDecoder
virtual void DispatchDriverInfo(format::ThreadId thread_id, format::DriverInfoBlock& info) override {}

virtual void DispatchExeFileInfo(format::ThreadId thread_id, format::ExeFileInfoBlock& info) override {}

virtual void SetCurrentBlockIndex(uint64_t block_index) override;

protected:
Expand Down

0 comments on commit db69517

Please sign in to comment.