Skip to content

Commit

Permalink
Sync to yaal.
Browse files Browse the repository at this point in the history
  • Loading branch information
AmokHuginnsson committed Dec 31, 2018
1 parent d849009 commit c5338b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/oneliner.cxx
Expand Up @@ -11,6 +11,7 @@ M_VCSID( "$Id: " __TID__ " $" )

using namespace yaal;
using namespace yaal::hcore;
using namespace yaal::random;
using namespace yaal::tools;
using namespace yaal::tools::huginn;

Expand Down Expand Up @@ -74,7 +75,7 @@ int oneliner( yaal::hcore::HString const& program_, int argc_, char** argv_ ) {
ss << "main() {\n\t";
}
char const* indent = ( setup._streamEditor && ( argc_ > 0 ) ) ? "\t\t\t" : "\t\t";
HRandomizer rnd( randomizer_helper::make_randomizer() );
distribution::HDiscrete rnd( rng_helper::make_random_number_generator() );
HString tmpExt( static_cast<int long long>( rnd() ) );
if ( setup._streamEditor ) {
if ( argc_ > 0 ) {
Expand Down

0 comments on commit c5338b7

Please sign in to comment.