Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 17, 2024
1 parent 15945b0 commit c0eea67
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion example/atom/argsview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ int main() {
std::cout << "Concatenated string: " << concatenatedStr << "\n";

return 0;
}
}
2 changes: 1 addition & 1 deletion example/atom/memory/object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ int main() {
pool.release(std::move(obj3));

return 0;
}
}
2 changes: 1 addition & 1 deletion example/atom/memory/ring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ int main() {
<< std::endl;

return 0;
}
}
2 changes: 1 addition & 1 deletion example/atom/memory/shared.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ int main() {
}

return 0;
}
}
2 changes: 1 addition & 1 deletion example/atom/memory/short_alloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ int main() {
std::cout << "Unique int: " << *uniqueInt << std::endl;

return 0;
}
}
2 changes: 1 addition & 1 deletion modules/lithium.cxxtools/src/csv2json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ auto csvToJson(std::string_view csv_file, std::string_view json_file,
}
} // namespace lithium::cxxtools

#endif
#endif
2 changes: 1 addition & 1 deletion modules/lithium.cxxtools/src/ini2json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,4 @@ auto iniToJson(std::string_view ini_file, std::string_view json_file,
}
} // namespace lithium::cxxtools

#endif
#endif
2 changes: 1 addition & 1 deletion modules/lithium.cxxtools/src/json2ini.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,4 @@ auto jsonToIni(std::string_view jsonFilePath,
}
} // namespace lithium::cxxtools

#endif
#endif
2 changes: 1 addition & 1 deletion modules/lithium.cxxtools/src/json2xml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ auto jsonToXml(std::string_view json_file, std::string_view xml_file) -> bool {
}
} // namespace lithium::cxxtools

#endif
#endif
2 changes: 1 addition & 1 deletion modules/lithium.cxxtools/src/pci_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ auto main(int argc, const char** argv) -> int {
}

return 0;
}
}
2 changes: 1 addition & 1 deletion modules/lithium.cxxtools/src/proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,4 @@ void NetworkProxy::resetLinuxHostsFile() const {
LOG_F(INFO, "Hosts file has been reset.");
}
#endif
} // namespace lithium::cxxtools
} // namespace lithium::cxxtools
2 changes: 1 addition & 1 deletion modules/lithium.cxxtools/tests/tcp_proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ TEST_F(TcpProxyTest, TestSocketConnectionFailure) {
int main(int argc, char **argv) {
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
}
2 changes: 1 addition & 1 deletion src/atom/type/args.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,4 @@ class Args {
std::unordered_map<std::string_view, std::any> m_data_;
};

#endif
#endif
2 changes: 1 addition & 1 deletion src/atom/type/argsview.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,4 +457,4 @@ void print(Args&&... args) {
}
#endif

#endif
#endif
2 changes: 1 addition & 1 deletion src/atom/type/auto_table.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,4 @@ void CountingHashTable<Key, Value>::stopAutoSorting() {

} // namespace atom::type

#endif // ATOM_TYPE_COUNTING_HASH_TABLE_HPP
#endif // ATOM_TYPE_COUNTING_HASH_TABLE_HPP
2 changes: 1 addition & 1 deletion src/atom/type/cstream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,4 +519,4 @@ auto cpstream(const T* t, std::size_t size) -> cstream<std::vector<N>> {

} // namespace atom::type

#endif // ATOM_TYPE_CONTAINERS_STREAMS_HPP
#endif // ATOM_TYPE_CONTAINERS_STREAMS_HPP
2 changes: 1 addition & 1 deletion src/atom/type/expected.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -520,4 +520,4 @@ auto make_unexpected(E&& error) -> unexpected<std::decay_t<E>> {

} // namespace atom::type

#endif // ATOM_TYPE_EXPECTED_HPP
#endif // ATOM_TYPE_EXPECTED_HPP
2 changes: 1 addition & 1 deletion src/atom/type/flatmap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,4 +563,4 @@ class QuickFlatMultiMap {
};
} // namespace atom::type

#endif // ATOM_TYPE_FLATMAP_HPP
#endif // ATOM_TYPE_FLATMAP_HPP
2 changes: 1 addition & 1 deletion src/atom/type/flatset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -648,4 +648,4 @@ void swap(FlatSet<T, Compare>& lhs,

} // namespace atom::type

#endif // ATOM_TYPE_FLAT_SET_HPP
#endif // ATOM_TYPE_FLAT_SET_HPP
2 changes: 1 addition & 1 deletion src/atom/type/indestructible.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,4 +280,4 @@ class destruction_guard {
T* p_;
};

#endif // ATOM_TYPE_INDESTRUCTIBLE_HPP
#endif // ATOM_TYPE_INDESTRUCTIBLE_HPP
2 changes: 1 addition & 1 deletion src/atom/type/iter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,4 +562,4 @@ auto makeZipIterator(Iterators... its) -> ZipIterator<Iterators...> {
return ZipIterator<Iterators...>(its...);
}

#endif // ATOM_EXPERIMENTAL_ITERATOR_HPP
#endif // ATOM_EXPERIMENTAL_ITERATOR_HPP
2 changes: 1 addition & 1 deletion src/atom/type/no_offset_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,4 @@ class UnshiftedPtr {
std::aligned_storage_t<sizeof(T), alignof(T)> storage_;
};

#endif // ATOM_TYPE_NO_OFFSET_PTR_HPP
#endif // ATOM_TYPE_NO_OFFSET_PTR_HPP
2 changes: 1 addition & 1 deletion src/atom/type/pod_vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,4 +365,4 @@ class PodVector {

} // namespace atom::type

#endif // ATOM_TYPE_POD_VECTOR_HPP
#endif // ATOM_TYPE_POD_VECTOR_HPP
2 changes: 1 addition & 1 deletion src/atom/type/small_list.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -517,4 +517,4 @@ class SmallList {

} // namespace atom::type

#endif // ATOM_TYPE_SMALL_LIST_HPP
#endif // ATOM_TYPE_SMALL_LIST_HPP
2 changes: 1 addition & 1 deletion src/atom/type/static_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,4 @@ constexpr auto operator+(const StaticString<N>& lhs,
return result;
}

#endif // ATOM_EXPERIMENT_SSTRING_HPP
#endif // ATOM_EXPERIMENT_SSTRING_HPP
2 changes: 1 addition & 1 deletion src/atom/type/trackable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,4 +247,4 @@ class Trackable {
}
};

#endif // ATOM_TYPE_TRACKABLE_HPP
#endif // ATOM_TYPE_TRACKABLE_HPP

0 comments on commit c0eea67

Please sign in to comment.