summaryrefslogtreecommitdiff
path: root/src/cachestoremyriad.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-25 17:45:03 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-25 17:45:03 +0000
commit24ab24777d7cd72b7ff35a9d02cb43e26f006b0d (patch)
tree09b1e2e72e05ff6e7502f02edb6d3fc6100cc741 /src/cachestoremyriad.h
parentb4e1fa15d0c809439139db3a60a3969d848dcf77 (diff)
downloadlibbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.tar.gz
libbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.tar.bz2
libbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.tar.xz
libbu++-24ab24777d7cd72b7ff35a9d02cb43e26f006b0d.zip
More myriad testing, fixes, arrangement, etc. UnitSuite add-ons, it has some
command line parameters now, I would like to also add an automatic paramter that would switch it to a computer-readable output mode for use in a larger testing framework.
Diffstat (limited to 'src/cachestoremyriad.h')
-rw-r--r--src/cachestoremyriad.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cachestoremyriad.h b/src/cachestoremyriad.h
index 3ae3ec8..bffa0bb 100644
--- a/src/cachestoremyriad.h
+++ b/src/cachestoremyriad.h
@@ -64,7 +64,8 @@ namespace Bu
64 mStore.initialize( iBlockSize, iPreAllocate ); 64 mStore.initialize( iBlockSize, iPreAllocate );
65 int iStream = mStore.createStream(); 65 int iStream = mStore.createStream();
66 if( iStream != 1 ) 66 if( iStream != 1 )
67 throw Bu::ExceptionBase("That's...horrible...id = %d.\n\n", iStream ); 67 throw Bu::ExceptionBase("That's...horrible...id = %d.\n\n",
68 iStream );
68 MyriadStream ns = mStore.openStream( 1 ); 69 MyriadStream ns = mStore.openStream( 1 );
69 Bu::Archive ar( ns, Bu::Archive::save ); 70 Bu::Archive ar( ns, Bu::Archive::save );
70 ar << hId; 71 ar << hId;