Fix to pcl::io::load and pcl::io::save#1294
Fix to pcl::io::load and pcl::io::save#1294jspricke merged 2 commits intoPointCloudLibrary:masterfrom
Conversation
The problem:
The methods Proposed solution:Move methods |
Fix to pcl::io::load and pcl::io::save
The implementation of the template methods
pcl::io::loadandpcl::io::savewas inpcl/io/src/file_io.cpp. Not only was this not conforming with pcl style guide, bit it also rendered the methods useless, since the compiler could not find the appropriate symbols.I just moved the code around between files and edited the CMakeLists.txt and now everything should be ok.
Edit: I now noticed that the proper way to do this is to mimic what was done in pcd_io.h and pcd_io.hpp, but right now that creates a circular reference.