Skip to content

Commit

Permalink
Inline a function to avoid link issues (Closes #182)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Sep 27, 2022
1 parent bf90682 commit 91ceae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
nanoflann 1.4.4: UNRELEASED
* Macros to avoid conflicts with X11 symbols.
* Inline an auxiliary example function in case users want to use it and include the file in multiple translation units (Closes [#182](https://github.com/jlblancoc/nanoflann/issues/182)).

nanoflann 1.4.3: Released Jul 24, 2022
* Added flag SkipInitialBuildIndex to allow not wasting time building a tree when it will be loaded from a file later on ([PR #171](https://github.com/jlblancoc/nanoflann/pull/171)).
Expand Down
2 changes: 1 addition & 1 deletion examples/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void generateRandomPointCloud_Orient(
}
}

void dump_mem_usage()
inline void dump_mem_usage()
{
FILE* f = fopen("/proc/self/statm", "rt");
if (!f) return;
Expand Down

0 comments on commit 91ceae1

Please sign in to comment.