mirror of
https://github.com/boostorg/ratio.git
synced 2025-05-09 23:24:01 +00:00
Boost.Ratio: Try to solve issue
Test output: Sandia-intel-10.1-32 - ratio - mpl_plus_pass / intel-linux-10.1 rollback redundant declarations. [SVN r67685]
This commit is contained in:
parent
072e014868
commit
76a322c22c
@ -20,8 +20,6 @@
|
||||
#define NOTHING ""
|
||||
#endif
|
||||
|
||||
void test();
|
||||
|
||||
void test()
|
||||
{
|
||||
{
|
||||
@ -82,13 +80,11 @@ void test()
|
||||
|
||||
}
|
||||
|
||||
boost::intmax_t func(boost::ratio<5,6> s);
|
||||
boost::intmax_t func(boost::ratio<5,6> s) {
|
||||
return s.num;
|
||||
}
|
||||
|
||||
|
||||
boost::intmax_t test_conversion();
|
||||
boost::intmax_t test_conversion() {
|
||||
return func(
|
||||
boost::mpl::plus<
|
||||
|
Loading…
x
Reference in New Issue
Block a user