Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor. #9

Merged
merged 1 commit into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion grape/vertex_map/idxers/idxer_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void serialize_idxer(std::unique_ptr<IOAdaptorBase>& writer,
} // namespace grape

namespace std {
ostream& operator<<(ostream& os, const grape::IdxerType& type) {
inline ostream& operator<<(ostream& os, const grape::IdxerType& type) {
switch (type) {
case grape::IdxerType::kHashMapIdxer:
os << "HashMapIdxer";
Expand Down
2 changes: 2 additions & 0 deletions grape/vertex_map/idxers/pthash_idxer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ limitations under the License.
#ifndef GRAPE_VERTEX_MAP_IDXERS_PTHASH_IDXER_H_
#define GRAPE_VERTEX_MAP_IDXERS_PTHASH_IDXER_H_

#include "grape/util.h"
#include "grape/utils/gcontainer.h"
#include "grape/utils/pthash_utils/ph_indexer_view.h"
#include "grape/vertex_map/idxers/idxer_base.h"

namespace grape {

Expand Down
2 changes: 1 addition & 1 deletion grape/vertex_map/partitioner.h
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ std::unique_ptr<IPartitioner<OID_T>> deserialize_partitioner(

namespace std {

ostream& operator<<(ostream& os, const grape::PartitionerType& type) {
inline ostream& operator<<(ostream& os, const grape::PartitionerType& type) {
switch (type) {
case grape::PartitionerType::kHashPartitioner:
os << "hash";
Expand Down
Loading