mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Per code review:
* get rid of (void) construct in function declarations * make toString a const member * add a default implementation of toString for Win32 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17873 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -25,7 +25,7 @@ namespace llvm {
|
||||
using namespace sys;
|
||||
|
||||
|
||||
std::string TimeValue::toString() {
|
||||
std::string TimeValue::toString() const {
|
||||
char buffer[32];
|
||||
|
||||
time_t ourTime = time_t(this->toEpochTime());
|
||||
|
@ -25,7 +25,7 @@ namespace llvm {
|
||||
using namespace sys;
|
||||
|
||||
|
||||
std::string TimeValue::toString() {
|
||||
std::string TimeValue::toString() const {
|
||||
char buffer[32];
|
||||
|
||||
time_t ourTime = time_t(this->toEpochTime());
|
||||
|
Reference in New Issue
Block a user