Skip to content

Commit

Permalink
Delete default implementation of format_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
igormironchik committed Sep 27, 2020
1 parent 4608055 commit 6864b2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions cfgfile/format.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,11 @@ template< class T, class Trait >
class format_t {
public:
//! Format value to string.
static typename Trait::string_t to_string( const T & )
{
return typename Trait::string_t();
}
static typename Trait::string_t to_string( const T & );

//! Format value from string.
static T from_string( const parser_info_t< Trait > &,
const typename Trait::string_t & )
{
return T();
}
const typename Trait::string_t & );
}; // class format_t


Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class ArgsConan(ConanFile):
name = "cfgfile"
version = "0.2.8.1"
version = "0.2.8.2"
url = "https://github.com/igormironchik/cfgfile.git"
license = "MIT"
description = "Header-only library for reading/saving configuration files with schema defined in sources."
Expand Down

0 comments on commit 6864b2b

Please sign in to comment.