Expose the const char* functionality for Spice to prevent unnecessary string creation

This commit is contained in:
Alexander Bock
2020-08-20 11:08:49 +02:00
parent e93f1833be
commit dc63946fef
4 changed files with 20 additions and 8 deletions

View File

@@ -101,6 +101,7 @@ public:
* \param time The time to be set as a date string
*/
void setTime(const std::string& time);
void setTime(const char* time);
/**
* Returns the current time as the number of seconds past the J2000 epoch. If the