From b83a49298eeb976ffc7473aa27719aca584d7925 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Tue, 11 Mar 2014 11:29:29 -0400 Subject: [PATCH] adding extra to_string --- CMakeLists.txt | 4 ++-- src/string.cpp | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7e2fab..64ffec6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,9 +66,9 @@ ELSE(WIN32) ENDIF(WIN32) -FIND_PACKAGE( OpenSSL ) +find_package( OpenSSL ) -SET (CMAKE_FIND_LIBRARY_SUFFIXES ${ORIGINAL_LIB_SUFFIXES}) +set( CMAKE_FIND_LIBRARY_SUFFIXES ${ORIGINAL_LIB_SUFFIXES} ) option( UNITY_BUILD OFF ) diff --git a/src/string.cpp b/src/string.cpp index ce79a9c..d09ab2f 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -98,6 +98,10 @@ namespace fc { { return boost::lexical_cast(d); } + fc::string to_string( uint16_t d) + { + return boost::lexical_cast(d); + } std::string trim( const std::string& s ) { std::string cpy(s);