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 23, 2024
1 parent 48bac37 commit b2c7584
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion src/addon/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,4 @@ void Compiler::generateCompileCommands(const std::string &sourceDir) {
impl_->generateCompileCommands(sourceDir);
}

} // namespace lithium
} // namespace lithium
2 changes: 1 addition & 1 deletion src/addon/sandbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,4 +327,4 @@ auto SandboxImpl::run() -> bool {
#endif
}

} // namespace lithium
} // namespace lithium
2 changes: 1 addition & 1 deletion src/atom/algorithm/base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ constexpr auto cbase64Decode(const StaticString<N> &input) {
}
} // namespace atom::algorithm

#endif
#endif
2 changes: 1 addition & 1 deletion src/atom/async/daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ auto checkPidFile() -> bool {
return kill(pid, 0) != -1 || errno != ESRCH;
#endif
}
} // namespace atom::async
} // namespace atom::async
2 changes: 1 addition & 1 deletion src/atom/async/eventstack.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,4 +377,4 @@ auto EventStack<T>::allEvents(std::function<bool(const T&)> predicate) const
}
} // namespace atom::async

#endif // ATOM_ASYNC_EVENTSTACK_HPP
#endif // ATOM_ASYNC_EVENTSTACK_HPP
2 changes: 1 addition & 1 deletion src/atom/async/message_bus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,4 @@ class MessageBus {
};
} // namespace atom::async

#endif // ATOM_ASYNC_MESSAGE_BUS_HPP
#endif // ATOM_ASYNC_MESSAGE_BUS_HPP
2 changes: 1 addition & 1 deletion src/atom/async/message_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,4 @@ void MessageQueue<T>::processMessages() {

} // namespace atom::async

#endif
#endif
2 changes: 1 addition & 1 deletion src/atom/async/pool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,4 +391,4 @@ class ThreadPool {
};
} // namespace atom::async

#endif // ATOM_ASYNC_POOL_HPP
#endif // ATOM_ASYNC_POOL_HPP
2 changes: 1 addition & 1 deletion src/atom/components/package.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ constexpr void SplitArrayElements(
}
}

#endif // ATOM_COMPONENTS_PACKAGE_HPP
#endif // ATOM_COMPONENTS_PACKAGE_HPP
2 changes: 1 addition & 1 deletion src/atom/connection/sshclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,4 +305,4 @@ void SSHClient::uploadDirectory(const std::string &local_path,
}
}
}
} // namespace atom::connection
} // namespace atom::connection
2 changes: 1 addition & 1 deletion src/atom/connection/sshclient.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,4 @@ class SSHClient {
} // namespace atom::connection
#endif

#endif
#endif
2 changes: 1 addition & 1 deletion src/atom/function/anymeta.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,4 +299,4 @@ class TypeRegistrar {

} // namespace atom::meta

#endif // ATOM_META_ANYMETA_HPP
#endif // ATOM_META_ANYMETA_HPP
2 changes: 1 addition & 1 deletion src/atom/type/iter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -564,4 +564,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/rjson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,4 +300,4 @@ void JsonParser::skipWhitespace(const std::string& str, size_t& index) {
}
}

} // namespace atom::type
} // namespace atom::type
2 changes: 1 addition & 1 deletion src/atom/type/rjson.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,4 @@ class JsonParser {

} // namespace atom::type

#endif // ATOM_TYPE_RJSON_HPP
#endif // ATOM_TYPE_RJSON_HPP
2 changes: 1 addition & 1 deletion src/atom/type/ryaml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ class YamlParser {

} // namespace atom::type

#endif // ATOM_TYPE_RYAML_HPP
#endif // ATOM_TYPE_RYAML_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 @@ -254,4 +254,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
2 changes: 1 addition & 1 deletion src/atom/utils/to_string.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,4 @@ auto toString(const std::array<T, N>& array) -> std::string {

} // namespace atom::utils

#endif // ATOM_UTILS_TO_STRING_HPP
#endif // ATOM_UTILS_TO_STRING_HPP
2 changes: 1 addition & 1 deletion src/target/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ auto levenshteinDistance(const std::string& str1,
return distanceMatrix[STR1_SIZE][STR2_SIZE];
}

} // namespace lithium::target
} // namespace lithium::target
2 changes: 1 addition & 1 deletion tests/atom/connection/sshclient_mock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ extern "C" {
}
}

#endif // SSHCLIENT_MOCK_HPP
#endif // SSHCLIENT_MOCK_HPP
2 changes: 1 addition & 1 deletion tests/atom/search/lru.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,4 @@ TEST(LRUCacheTest, ConcurrentAccess) {

EXPECT_EQ(cache.get(1).value_or("not found"), "one");
EXPECT_EQ(cache.get(2).value_or("not found"), "two");
}
}
2 changes: 1 addition & 1 deletion tests/build_and_test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ ctest --output-on-failure
# Return to the original directory
Set-Location -Path ..

Write-Output "Build and test process completed successfully."
Write-Output "Build and test process completed successfully."

0 comments on commit b2c7584

Please sign in to comment.