From 9072b0c98ba4f9412885a1a32002ee7214fd3dc0 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 30 Jan 2014 03:36:23 +0000 Subject: Attempting to fix OSX compatibility, it's not 100%, but it builds and most things seem to work. We've also tested against LLVM. --- src/stable/minicron.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stable/minicron.cpp') diff --git a/src/stable/minicron.cpp b/src/stable/minicron.cpp index 2f7e868..9d98682 100644 --- a/src/stable/minicron.cpp +++ b/src/stable/minicron.cpp @@ -317,7 +317,7 @@ time_t Bu::MiniCron::TimerBasic::nextTime() if( tLast == -1 ) tLast = time( NULL ); - Bu::String::const_iterator i = sSpec.begin(); + Bu::String::const_iterator i = const_cast(sSpec).begin(); switch( lex( i ) ) { case tokDaily: -- cgit v1.2.3