Commit 928f2127 authored by Sylvain Thery's avatar Sylvain Thery

with comment

parent 6e76de84
...@@ -31,7 +31,12 @@ namespace CGoGN ...@@ -31,7 +31,12 @@ namespace CGoGN
{ {
namespace Utils namespace Utils
{ {
/**
* @brief checkFileNameExtension
* @param filename
* @param extension (with . example ".svg")
* @return the modified (or not) filename
*/
inline std::string checkFileNameExtension(const std::string &filename, const std::string extension) inline std::string checkFileNameExtension(const std::string &filename, const std::string extension)
{ {
std::size_t found = filename.rfind(extension); std::size_t found = filename.rfind(extension);
......
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