mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-28 15:16:43 +00:00
Fixed clang++ compile.
This commit is contained in:
parent
b3a189b240
commit
3238e8f52f
@ -49,7 +49,7 @@ namespace musik {
|
||||
return Duration((int) round(seconds));
|
||||
}
|
||||
|
||||
std::string Duration(std::string& str) {
|
||||
std::string Duration(const std::string& str) {
|
||||
if (str.size()) {
|
||||
int seconds = boost::lexical_cast<int>(str);
|
||||
return Duration(seconds);
|
||||
|
@ -39,7 +39,7 @@
|
||||
namespace musik {
|
||||
namespace box {
|
||||
namespace duration {
|
||||
std::string Duration(std::string& str);
|
||||
std::string Duration(const std::string& str);
|
||||
std::string Duration(int seconds);
|
||||
std::string Duration(double seconds);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user