Commit 92c1d843 authored by Patrik Huber's avatar Patrik Huber

Added inline to EdgeTopology load/save functions

parent 2a83a5f6
......@@ -74,7 +74,7 @@ struct EdgeTopology {
* @param[in] filename The file to write.
* @throws std::runtime_error if unable to open the given file for writing.
*/
void save_edge_topology(EdgeTopology edge_topology, std::string filename)
inline void save_edge_topology(EdgeTopology edge_topology, std::string filename)
{
std::ofstream file(filename);
if (file.fail()) {
......@@ -91,7 +91,7 @@ void save_edge_topology(EdgeTopology edge_topology, std::string filename)
* @return A struct containing the edge topology.
* @throws std::runtime_error if unable to open the given file for writing.
*/
EdgeTopology load_edge_topology(std::string filename)
inline EdgeTopology load_edge_topology(std::string filename)
{
EdgeTopology edge_topology;
std::ifstream file(filename);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment